summaryrefslogtreecommitdiffstats
path: root/bin/genparser
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-12-10 02:36:22 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-12-10 02:36:22 (GMT)
commit5855f5d431b266ccb3568d2a70ba95725ba1cfc0 (patch)
tree4e256457558d3ce93479a8a91df36f9c0564bd6e /bin/genparser
parentaf371007e8bd28da2cebba7d079359611c898871 (diff)
downloadhdf5-5855f5d431b266ccb3568d2a70ba95725ba1cfc0.zip
hdf5-5855f5d431b266ccb3568d2a70ba95725ba1cfc0.tar.gz
hdf5-5855f5d431b266ccb3568d2a70ba95725ba1cfc0.tar.bz2
[svn-r28553] Merge of r28436 from revise_chunks. Cleans up warnings exposed
by gcc 5.2 in the flex/bison code. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
Diffstat (limited to 'bin/genparser')
-rwxr-xr-xbin/genparser4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/genparser b/bin/genparser
index 77eab35..71a8ae2 100755
--- a/bin/genparser
+++ b/bin/genparser
@@ -227,14 +227,16 @@ do
echo '#pragma GCC diagnostic ignored "-Wmissing-prototypes" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wnested-externs" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wold-style-definition" ' >> tmp.out
+ echo '#pragma GCC diagnostic ignored "-Wredundant-decls" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsign-compare" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsign-conversion" ' >> tmp.out
+ echo '#pragma GCC diagnostic ignored "-Wstrict-overflow" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wstrict-prototypes" ' >> tmp.out
+ echo '#pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wswitch-default" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-function" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-macros" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-parameter" ' >> tmp.out
- echo '#pragma GCC diagnostic ignored "-Wredundant-decls" ' >> tmp.out
echo '#elif defined __SUNPRO_CC ' >> tmp.out
echo '#pragma disable_warn ' >> tmp.out
echo '#elif defined _MSC_VER ' >> tmp.out