mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +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.
25 lines
636 B
Plaintext
25 lines
636 B
Plaintext
#
|
|
# HDF5 code should not trigger the following warnings under any
|
|
# circumstances, so ask the compiler to treat them as errors:
|
|
#
|
|
-Werror=bad-function-cast
|
|
-Werror=cast-align
|
|
-Werror=declaration-after-statement
|
|
-Werror=format
|
|
-Werror=implicit-function-declaration
|
|
-Werror=missing-declarations
|
|
-Werror=missing-prototypes
|
|
-Werror=nested-externs
|
|
-Werror=old-style-definition
|
|
-Werror=packed
|
|
-Werror=pointer-sign
|
|
-Werror=pointer-to-int-cast
|
|
-Werror=redundant-decls
|
|
-Werror=strict-prototypes
|
|
-Werror=switch
|
|
-Werror=unused-but-set-variable
|
|
-Werror=unused-function
|
|
-Werror=unused-parameter
|
|
-Werror=unused-variable
|
|
#-Werror=discarded-qualifiers
|