summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/no-developer-4.8
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-05-18 19:28:51 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-05-19 02:33:13 (GMT)
commit22b61f470acc54afad5705dea23a7a8423e65cff (patch)
treea8d6d4be22e69b92f7e51a00711578de13614255 /config/gnu-warnings/no-developer-4.8
parent0d88516c2eafcd4ca538442afe21caf4ff1aeb1f (diff)
downloadhdf5-22b61f470acc54afad5705dea23a7a8423e65cff.zip
hdf5-22b61f470acc54afad5705dea23a7a8423e65cff.tar.gz
hdf5-22b61f470acc54afad5705dea23a7a8423e65cff.tar.bz2
Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning
flags for GCC compilers version 4.8 and above. Removed files from gnu-warnings that only apply to versions < 4.8. Consolidated warnings from versions < 4.8 that apply to versions >= 4.8 into the 4.8 warnings files.
Diffstat (limited to 'config/gnu-warnings/no-developer-4.8')
-rw-r--r--config/gnu-warnings/no-developer-4.812
1 files changed, 12 insertions, 0 deletions
diff --git a/config/gnu-warnings/no-developer-4.8 b/config/gnu-warnings/no-developer-4.8
index e42e09f..1e29c78 100644
--- a/config/gnu-warnings/no-developer-4.8
+++ b/config/gnu-warnings/no-developer-4.8
@@ -1 +1,13 @@
+# 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
+
+# no-developer warning flags added for GCC >= 4.7
+-Wno-suggest-attribute=noreturn
+-Wno-suggest-attribute=pure
+
+# no-developer warning flag added for GCC >= 4.8
-Wno-suggest-attribute=format