diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-11-29 13:46:34 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-11-29 13:46:34 (GMT) |
commit | 49b99cf1b058eec8f23ce78b85f68a8305e9785e (patch) | |
tree | 3b92096dbcd5479bb2ded1804ad5e1755d7a8e73 /config/gnu-warnings/noerror-5 | |
parent | 9572872ad7a4c06f362fd37f26c35890238caed2 (diff) | |
parent | 4fea1bcccd283a407fe0936c56e56cc40a019b3c (diff) | |
download | hdf5-49b99cf1b058eec8f23ce78b85f68a8305e9785e.zip hdf5-49b99cf1b058eec8f23ce78b85f68a8305e9785e.tar.gz hdf5-49b99cf1b058eec8f23ce78b85f68a8305e9785e.tar.bz2 |
Merge branch 'develop' into zzz-gitlab-ci
Diffstat (limited to 'config/gnu-warnings/noerror-5')
-rw-r--r-- | config/gnu-warnings/noerror-5 | 12 |
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 |