summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/4.8-4.last
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-05-18 19:28:51 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-05-18 19:28:51 (GMT)
commitfcd87d2569ca4d8396c7db4eddb46cab04010abf (patch)
treefdd61c5aeeaf2ba4cf440177ef6d34f46d19741c /config/gnu-warnings/4.8-4.last
parent820363aa6d4e1dd1705237ee16cbf19f7649a4a0 (diff)
downloadhdf5-fcd87d2569ca4d8396c7db4eddb46cab04010abf.zip
hdf5-fcd87d2569ca4d8396c7db4eddb46cab04010abf.tar.gz
hdf5-fcd87d2569ca4d8396c7db4eddb46cab04010abf.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/4.8-4.last')
-rw-r--r--config/gnu-warnings/4.8-4.last3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/gnu-warnings/4.8-4.last b/config/gnu-warnings/4.8-4.last
new file mode 100644
index 0000000..2db90fb
--- /dev/null
+++ b/config/gnu-warnings/4.8-4.last
@@ -0,0 +1,3 @@
+# -Wvla was later incorporated into -Wpedantic and
+# only needs to be specified explicitly for gcc 4
+-Wvla