Opened 4 weeks ago
Last modified 4 weeks ago
#70017 new enhancement
Check config.log for -Wimplicit-int and -Wincompatible-function-pointer-types
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | haspatch | Cc: | |
Port: |
Description
MacPorts base contains code that checks config.log files for instances of implicit function declarations because new clang versions default to -Werror=implicit-function-declaration
and this can cause available features not to be found:
Even newer clang versions default to -Werror=implicit-int
and -Werror=incompatible-function-pointer-types
. Shall MacPorts base be enhanced to check for and warn about these too? I just encountered a port (php74) that failed to build due to an incorrect configure decision resulting from implicit int.
Change History (1)
comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
Note: See
TracTickets for help on using
tickets.
https://github.com/macports/macports-base/pull/331