diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-03-18 04:22:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 04:22:01 (GMT) |
commit | 6b8249accb398eaeb9036610c214f4c70e542194 (patch) | |
tree | 44c1fc9827d61a94c4b050322bf582194718e21a /config/gnu-warnings/developer-4.8 | |
parent | 7c5d0a3756032a3f5f2cbbdf56b8824177584223 (diff) | |
download | hdf5-6b8249accb398eaeb9036610c214f4c70e542194.zip hdf5-6b8249accb398eaeb9036610c214f4c70e542194.tar.gz hdf5-6b8249accb398eaeb9036610c214f4c70e542194.tar.bz2 |
Align compiler flags with develop (#2586)
Brings many compiler flag changes over from develop. Does NOT bring over
-Werror changes.
Also turns on Fortran silent rules, as in develop.
Diffstat (limited to 'config/gnu-warnings/developer-4.8')
-rw-r--r-- | config/gnu-warnings/developer-4.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/gnu-warnings/developer-4.8 b/config/gnu-warnings/developer-4.8 index bfd15a1..be7720c 100644 --- a/config/gnu-warnings/developer-4.8 +++ b/config/gnu-warnings/developer-4.8 @@ -6,6 +6,13 @@ # -Wjump-misses-init +# developer warning flag added for GCC >= 4.5 +# +# strict-overflow level 5 catches a LOT of false positives, but is useful +# for detecting overflow conditions. +# +-Wstrict-overflow=5 + # developer warning flag added for GCC >= 4.6 -Wsuggest-attribute=const |