summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.l
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 /hl/src/H5LTanalyze.l
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 'hl/src/H5LTanalyze.l')
-rw-r--r--hl/src/H5LTanalyze.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/hl/src/H5LTanalyze.l b/hl/src/H5LTanalyze.l
index 29eb3bb..a0c4f42 100644
--- a/hl/src/H5LTanalyze.l
+++ b/hl/src/H5LTanalyze.l
@@ -25,6 +25,11 @@
#include <hdf5.h>
#include "H5LTparse.h"
+/* Turn off suggest const attribute warning in gcc */
+#if __GNUC__ >= 4 && __GNUC_MINOR__ >=2
+#pragma GCC diagnostic ignored "-Wsuggest-attribute=const"
+#endif
+
int my_yyinput(char *, int);
#undef YY_INPUT
#define YY_INPUT(b, r, ms) (r=my_yyinput(b, ms))