[MacPorts] #69297: luametatex @2.10.08 does not build on PPC Tiger, Mac OS X 10.4.11, because of "cc1: error: unrecognized command line option "-Wno-unused-result""
MacPorts
noreply at macports.org
Tue Feb 6 21:05:47 UTC 2024
#69297: luametatex @2.10.08 does not build on PPC Tiger, Mac OS X 10.4.11, because
of "cc1: error: unrecognized command line option "-Wno-unused-result""
-------------------------+-----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: ppc tiger
Port: luametatex |
-------------------------+-----------------------
Comment (by ballapete):
Actually `/opt/local/bin/gcc-apple-4.2` does not understand any of the
`-Wno-<whatever>` options, `/opt/local/bin/gcc-apple-4.2 -v --help` shows:
{{{
-Wno-comma
-Wno-date-time
-Wno-deprecated-declarations
-Wno-extra-semi-stmt
-Wno-float-equal
-Wno-format-nonliteral
-Wno-implicit-fallthrough
-Wno-missing-noreturn
-Wno-newline-eof
-Wno-nonportable-include-path
-Wno-nonportable-system-include-path
-Wno-pedantic
-Wno-reserved-id-macro
-Wno-reserved-identifier
-Wno-shadow
-Wno-sign-conversion
-Wno-switch-enum
-Wno-unknown-pragmas
-Wno-unknown-warning-option
-Wno-unused-macros
-Wno-unused-result
}}}
Clearly they must be removed from `luametatex-2.10.08/CMakeLists.txt` – or
`GCC7` used.
--
Ticket URL: <https://trac.macports.org/ticket/69297#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list