summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-01-03 14:18:48 (GMT)
committerGitHub <noreply@github.com>2023-01-03 14:18:48 (GMT)
commit83f81a64222e61c8cc25e48ccefa700631006aab (patch)
tree0864fdb966ec3062d1e03f0c46aa6bc9037e10f1 /config/gnu-warnings
parentd326f6fae80c090419d0178bb3e799fd50e78df5 (diff)
downloadhdf5-83f81a64222e61c8cc25e48ccefa700631006aab.zip
hdf5-83f81a64222e61c8cc25e48ccefa700631006aab.tar.gz
hdf5-83f81a64222e61c8cc25e48ccefa700631006aab.tar.bz2
Adds -Warray-temporaries to the developer warnings (#2385)
These generate a LOT of noise that we are not going to address anytime soon.
Diffstat (limited to 'config/gnu-warnings')
-rw-r--r--config/gnu-warnings/gfort-4.81
-rw-r--r--config/gnu-warnings/gfort-developer-4.83
-rw-r--r--config/gnu-warnings/gfort-no-developer-4.83
3 files changed, 6 insertions, 1 deletions
diff --git a/config/gnu-warnings/gfort-4.8 b/config/gnu-warnings/gfort-4.8
index 9d880de..f986072 100644
--- a/config/gnu-warnings/gfort-4.8
+++ b/config/gnu-warnings/gfort-4.8
@@ -1,5 +1,4 @@
# warning flags added for gfortran >= 4.4
--Warray-temporaries
-Wintrinsics-std
# warning flag added for gfortran >= 4.5
diff --git a/config/gnu-warnings/gfort-developer-4.8 b/config/gnu-warnings/gfort-developer-4.8
new file mode 100644
index 0000000..20effdc
--- /dev/null
+++ b/config/gnu-warnings/gfort-developer-4.8
@@ -0,0 +1,3 @@
+# warning flags added for gfortran >= 4.4
+-Warray-temporaries
+
diff --git a/config/gnu-warnings/gfort-no-developer-4.8 b/config/gnu-warnings/gfort-no-developer-4.8
new file mode 100644
index 0000000..82274ef
--- /dev/null
+++ b/config/gnu-warnings/gfort-no-developer-4.8
@@ -0,0 +1,3 @@
+# warning flags added for gfortran >= 4.4
+-Wno-array-temporaries
+