diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-07 18:50:22 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-07 18:50:22 (GMT) |
commit | a975a8d0eb3244d1a08afc80133a12279d1f90e5 (patch) | |
tree | a6fd0141f08c29b013cb6b613c2fcdf17e7c8d39 /config | |
parent | 51ab52ad4298913d18d1f8c3be7e2c2a410c58a8 (diff) | |
download | hdf5-a975a8d0eb3244d1a08afc80133a12279d1f90e5.zip hdf5-a975a8d0eb3244d1a08afc80133a12279d1f90e5.tar.gz hdf5-a975a8d0eb3244d1a08afc80133a12279d1f90e5.tar.bz2 |
Removes unsuffixed float warnings
These warnings can only be addressed with gnu extensions.
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-warnings/4.8 | 3 | ||||
-rw-r--r-- | config/gnu-warnings/developer-4.8 | 1 | ||||
-rw-r--r-- | config/gnu-warnings/no-developer-4.8 | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/config/gnu-warnings/4.8 b/config/gnu-warnings/4.8 index c7e3dd1..05f4d92 100644 --- a/config/gnu-warnings/4.8 +++ b/config/gnu-warnings/4.8 @@ -9,6 +9,9 @@ # warning flag added for GCC >= 4.5 -Wstrict-overflow=5 +# This warning can only be truly addressed using the gcc extension of +# using D to indicate doubles (e.g., 1.23D). +-Wno-unsuffixed-float-constants # warning flags added for GCC >= 4.6 -Wdouble-promotion diff --git a/config/gnu-warnings/developer-4.8 b/config/gnu-warnings/developer-4.8 index fd76f6c..bfd15a1 100644 --- a/config/gnu-warnings/developer-4.8 +++ b/config/gnu-warnings/developer-4.8 @@ -5,7 +5,6 @@ # the variable is never *used* before it has been initialized? # -Wjump-misses-init --Wunsuffixed-float-constants # developer warning flag added for GCC >= 4.6 -Wsuggest-attribute=const diff --git a/config/gnu-warnings/no-developer-4.8 b/config/gnu-warnings/no-developer-4.8 index 1e29c78..09a9a96 100644 --- a/config/gnu-warnings/no-developer-4.8 +++ b/config/gnu-warnings/no-developer-4.8 @@ -1,6 +1,5 @@ # no-developer warning flag added for GCC >= 4.5 -Wno-jump-misses-init --Wno-unsuffixed-float-constants # no-developer warning flag added for GCC >= 4.6 -Wno-suggest-attribute=const |