diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-12-10 02:36:22 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-12-10 02:36:22 (GMT) |
commit | 5855f5d431b266ccb3568d2a70ba95725ba1cfc0 (patch) | |
tree | 4e256457558d3ce93479a8a91df36f9c0564bd6e /hl/src/H5LTanalyze.l | |
parent | af371007e8bd28da2cebba7d079359611c898871 (diff) | |
download | hdf5-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.l | 5 |
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)) |