mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
2f09d8f3c8
the filename prefixes. Update config/gnu-flags to suit. I also made changes to config/cmake/HDFCompilerFlags.cmake, but I'm not sure they're correct.
13 lines
523 B
Plaintext
13 lines
523 B
Plaintext
-Werror=incompatible-pointer-types
|
|
#
|
|
# 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
|