Tinderbox CLANG-STRICTER-SYSTEM passes additional CFLAGS="-Werror=implicit-function-declaration -Werror=implict-int -Werror=incompatible-function-pointer-types " flags into CXXFLAGS and FCFLAGS while shouldn't do it (for CXXFLAGS too). The passing mentioned flags especially into FCFLAGS results in configuration/compilation warnings and errors like [1], [2]: f951: Warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for Fortran f951: Warning: ‘-Werror=’ argument ‘-Werror=implicit-int’ is not valid for Fortran f951: Error: ‘-Werror=incompatible-function-pointer-types’: no option ‘-Wincompatible-function-pointer-types’; did you mean ‘-Wincompatible-pointer-types’? The issues that seem to be invalid are then generated. [1] https://bugs.gentoo.org/886275 [2] https://bugs.gentoo.org/887633 Reproducible: Always
Hi Sergey, thanks for the report. Let me ask to sam what to to in this case.
OK, yeah, we only want these in CFLAGS (not even CXXFLAGS).