diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-25 17:38:15 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-25 17:38:15 (GMT) |
commit | d8e5995f6d158ddf835da1ee669240ca092bf4a7 (patch) | |
tree | ab3422b7d751bc70edb8719aaebd0516cf5a9dec /config/gnu-werrors-general | |
parent | ddb95a6dc51b38c82f6604facf464672882ef4d8 (diff) | |
download | hdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.zip hdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.tar.gz hdf5-d8e5995f6d158ddf835da1ee669240ca092bf4a7.tar.bz2 |
Break out warnings into more files that autoconf and CMake can share. This
change temporarily disables the warnings that were promoted to errors, but I
will add those warnings back as warnings, not errors, in the next commit.
Diffstat (limited to 'config/gnu-werrors-general')
-rw-r--r-- | config/gnu-werrors-general | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config/gnu-werrors-general b/config/gnu-werrors-general new file mode 100644 index 0000000..d0e272a --- /dev/null +++ b/config/gnu-werrors-general @@ -0,0 +1,24 @@ +# +# 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 |