[MacPorts] #67787: Detect other possible default -Werror compiler errors during configure
MacPorts
noreply at macports.org
Fri Jul 21 10:12:46 UTC 2023
#67787: Detect other possible default -Werror compiler errors during configure
--------------------------+--------------------
Reporter: chrstphrchvz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.8.1
Keywords: | Port:
--------------------------+--------------------
In response to Apple Clang 12 treating implicit function declarations as
errors rather than warnings, MacPorts now warns if a port may have
configured incorrectly because of such errors.
Newer LLVM Clang and possibly future GCC treat other warnings as errors by
default; [https://wiki.gentoo.org/wiki/Modern_C_porting] currently lists
`-Werror=int-conversion`, `-Werror=implicit-int`, and `-Werror
=incompatible-function-pointer-types`. Can MacPorts’ warnings be extended
to check for these other errors as well, and/or reorganized to accommodate
future ones more easily?
--
Ticket URL: <https://trac.macports.org/ticket/67787>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list