hdf5/config/gnu-warnings/error-5
Larry Knox 28e92647f0
Move -Werror=int-conversion from error-general to error-5 in (#1194)
gnu-warnings (unrecognized command line option for gcc 4.85/4.93.
2021-11-13 22:11:25 -06:00

14 lines
546 B
Plaintext

-Werror=incompatible-pointer-types
-Werror=int-conversion
#
# In GCC 4.4.7, the compiler gripes about shadowed global
# declarations when a local variable uses the name of a
# function that's in a system header file. For some reason,
# later versions of GCC (e.g., 5.2.0) don't complain about
# the shadowed globals. Maybe later versions are less fussy?
# Anyway, the shadowing seems to be harmless, and GCC 4.4.7
# is not a supported compiler, so let us promote shadowed globals
# warnings to errors only for GCC 5 and later.
#
-Werror=shadow