summaryrefslogtreecommitdiffstats
path: root/config/gnu-warnings/noerror-5
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-02-04 14:18:09 (GMT)
committerGitHub <noreply@github.com>2021-02-04 14:18:09 (GMT)
commitedb1324a3aba9a297edd4b1bce7811b54c229454 (patch)
tree70c403bcbb508c2d40c9b3b78534ac6be9cac69a /config/gnu-warnings/noerror-5
parent374211e79dd51b6ee0aad4c0fbd47f7c27f4fec4 (diff)
downloadhdf5-edb1324a3aba9a297edd4b1bce7811b54c229454.zip
hdf5-edb1324a3aba9a297edd4b1bce7811b54c229454.tar.gz
hdf5-edb1324a3aba9a297edd4b1bce7811b54c229454.tar.bz2
Warnings merge 112 (#299)
* OESS-98 fix tools test for plugins * sync fork * Merge of changes from dev * Move problem option to bottom of the list until fixed * HDFFV-11106 - fix parsing optional args * HDFFV-11106 add note * grammer fix * Whitespace after clang formatting * Undo format version 11 changes * Update check to working version * Merge workflow and minor changes from develop * Merge dev warnings changes from develop
Diffstat (limited to 'config/gnu-warnings/noerror-5')
-rw-r--r--config/gnu-warnings/noerror-512
1 files changed, 12 insertions, 0 deletions
diff --git a/config/gnu-warnings/noerror-5 b/config/gnu-warnings/noerror-5
new file mode 100644
index 0000000..a7d40dd
--- /dev/null
+++ b/config/gnu-warnings/noerror-5
@@ -0,0 +1,12 @@
+-Wincompatible-pointer-types
+#
+# In GCC 4.4.7, the compiler gripes about shadowed global
+# declarations when a local variable uses the name of a
+# function that's in a system header file. For some reason,
+# later versions of GCC (e.g., 5.2.0) don't complain about
+# the shadowed globals. Maybe later versions are less fussy?
+# Anyway, the shadowing seems to be harmless, and GCC 4.4.7
+# is not a supported compiler, so let us promote shadowed globals
+# warnings to errors only for GCC 5 and later.
+#
+-Wshadow