summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/general
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-04-07 14:37:08 (GMT)
committerGitHub <noreply@github.com>2022-04-07 14:37:08 (GMT)
commita4e833c50c002239af8c16667b1b072e6c6fa27f (patch)
treea9a5a7a595f4291f973e5783716e4e2499edd031 /config/gnu-warnings/general
parentdc07ef19fd055daa27026282213c63e7e74f73c2 (diff)
downloadhdf5-a4e833c50c002239af8c16667b1b072e6c6fa27f.zip
hdf5-a4e833c50c002239af8c16667b1b072e6c6fa27f.tar.gz
hdf5-a4e833c50c002239af8c16667b1b072e6c6fa27f.tar.bz2
1.12: Brings 1.12 compiler options in line with develop (#1611)
* Brings 1.12 compiler options in line with develop * Revert 'since' doxygen field in H5public.h
Diffstat (limited to 'config/gnu-warnings/general')
-rw-r--r--config/gnu-warnings/general14
1 files changed, 4 insertions, 10 deletions
diff --git a/config/gnu-warnings/general b/config/gnu-warnings/general
index a7a20b7..df4c613 100644
--- a/config/gnu-warnings/general
+++ b/config/gnu-warnings/general
@@ -15,18 +15,12 @@
-Winit-self
-Winvalid-pch
-Wmissing-include-dirs
-#
+-Wshadow
+-Wundef
+-Wwrite-strings
+-pedantic
# NOTE: Due to the divergence in the C and C++, we're dropping support for
# compiling the C library with a C++ compiler and dropping the -Wc++-compat
# warning.
#
-Wno-c++-compat
-#
-# NOTE: Disable the -Wformat-nonliteral from -Wformat=2 here and re-add
-# it to the developer flags.
-#
--Wno-format-nonliteral
--Wshadow
--Wundef
--Wwrite-strings
--pedantic