summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/cxx-4.8
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-12-21 18:57:18 (GMT)
committerGitHub <noreply@github.com>2020-12-21 18:57:18 (GMT)
commit71440cef1c4cf4757fe53906b663b286fc537ede (patch)
treeb98646c4ab38431bccb5240535e3fafe921917bb /config/gnu-warnings/cxx-4.8
parent0483817a9250d90afc685864db640367558a1e3d (diff)
downloadhdf5-71440cef1c4cf4757fe53906b663b286fc537ede.zip
hdf5-71440cef1c4cf4757fe53906b663b286fc537ede.tar.gz
hdf5-71440cef1c4cf4757fe53906b663b286fc537ede.tar.bz2
Add compiler flags for GCC 10, along with updating warnhist script to accommodate them. (#217)
Diffstat (limited to 'config/gnu-warnings/cxx-4.8')
-rw-r--r--config/gnu-warnings/cxx-4.826
1 files changed, 26 insertions, 0 deletions
diff --git a/config/gnu-warnings/cxx-4.8 b/config/gnu-warnings/cxx-4.8
new file mode 100644
index 0000000..744ebdc
--- /dev/null
+++ b/config/gnu-warnings/cxx-4.8
@@ -0,0 +1,26 @@
+# warning flags added for GCC >= 4.3
+-Wlarger-than=2560
+-Wlogical-op
+
+# warning flags added for GCC >= 4.4
+-Wframe-larger-than=16384
+-Wpacked-bitfield-compat
+-Wsync-nand
+
+# warning flag added for GCC >= 4.5
+-Wstrict-overflow=5
+
+# warning flags added for GCC >= 4.6
+-Wdouble-promotion
+-Wtrampolines
+
+# warning flag added for GCC >= 4.7
+#
+# -Wstack-usage=8192 warnings need to be swept up on a branch so
+# that we can stop burdening the whole development team.
+#
+-Wstack-usage=8192
+
+# warning flag added for GCC >= 4.8
+-Wmaybe-uninitialized
+