diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-07-11 18:26:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 18:26:03 (GMT) |
commit | 63ce6839b581c09676e3dc0eaad477870bd2537c (patch) | |
tree | 672049c0b17f7f6d6f45180006fe00e50c9f66cf /config/gnu-warnings | |
parent | e269f9036474b9d5b3c88d865e7bb20ecad5c54c (diff) | |
download | hdf5-63ce6839b581c09676e3dc0eaad477870bd2537c.zip hdf5-63ce6839b581c09676e3dc0eaad477870bd2537c.tar.gz hdf5-63ce6839b581c09676e3dc0eaad477870bd2537c.tar.bz2 |
Reduce -Wstrict-overflow= from 5 to 2 (#1872)
The signal-to-noise ratio of the higher warning level is very low
and the noise obscures things we should fix
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r-- | config/gnu-warnings/4.8 | 2 | ||||
-rw-r--r-- | config/gnu-warnings/cxx-4.8 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/gnu-warnings/4.8 b/config/gnu-warnings/4.8 index fa678ff..102ed3e 100644 --- a/config/gnu-warnings/4.8 +++ b/config/gnu-warnings/4.8 @@ -8,7 +8,7 @@ -Wsync-nand # warning flag added for GCC >= 4.5 --Wstrict-overflow=5 +-Wstrict-overflow=2 # This warning can only be truly addressed using the gcc extension of # using D to indicate doubles (e.g., 1.23D). diff --git a/config/gnu-warnings/cxx-4.8 b/config/gnu-warnings/cxx-4.8 index 744ebdc..6f920b2 100644 --- a/config/gnu-warnings/cxx-4.8 +++ b/config/gnu-warnings/cxx-4.8 @@ -8,7 +8,7 @@ -Wsync-nand # warning flag added for GCC >= 4.5 --Wstrict-overflow=5 +-Wstrict-overflow=2 # warning flags added for GCC >= 4.6 -Wdouble-promotion |