Feature #930 ยป 0034-Enable-nonnull-compare-warnings.patch
| m4/debug.m4 | ||
|---|---|---|
|
dnl Always
|
||
|
dnl This must be last so that the specific flags here override likes of
|
||
|
dnl -Wall set earlier, and not the other way around.
|
||
|
FC_C_FLAGS([-Wno-tautological-compare -Wno-nonnull-compare],
|
||
|
FC_C_FLAGS([-Wno-tautological-compare],
|
||
|
[], [EXTRA_DEBUG_CFLAGS])
|
||
|
if test "x$cxx_works" = "xyes" ; then
|
||
|
FC_CXX_FLAGS([-Wno-tautological-compare -Wno-nonnull-compare],
|
||
|
FC_CXX_FLAGS([-Wno-tautological-compare],
|
||
|
[], [EXTRA_DEBUG_CXXFLAGS])
|
||
|
fi
|
||
| meson.build | ||
|---|---|---|
|
endif
|
||
|
c_args = [
|
||
|
'-Wno-nonnull-compare',
|
||
|
'-Wnested-externs'
|
||
|
]
|
||