diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-06-23 14:45:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-23 14:45:47 (GMT) |
commit | 896304d2da518cf7f130394b33d2c9a9fe1cd477 (patch) | |
tree | 5362a234b3e6f348510a8e02838e20a283961ee8 /hl/src/H5LTanalyze.l | |
parent | 9e55d51f469d37bca753a6506336812363d73069 (diff) | |
download | hdf5-896304d2da518cf7f130394b33d2c9a9fe1cd477.zip hdf5-896304d2da518cf7f130394b33d2c9a9fe1cd477.tar.gz hdf5-896304d2da518cf7f130394b33d2c9a9fe1cd477.tar.bz2 |
Work-around for MSVC issue with flex-generated code (#1823)
Diffstat (limited to 'hl/src/H5LTanalyze.l')
-rw-r--r-- | hl/src/H5LTanalyze.l | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hl/src/H5LTanalyze.l b/hl/src/H5LTanalyze.l index 5006612..fd014a4 100644 --- a/hl/src/H5LTanalyze.l +++ b/hl/src/H5LTanalyze.l @@ -17,6 +17,14 @@ * recreate the output files. */ +%top{ +/* Quiet warnings about integer type macro redifinitions on Visual Studio + * (MSVC doesn't define STDC_VERSION, but has inttypes.h). This is an + * issue that is apparently fixed in flex 2.6.5. + */ +#include <stdint.h> +} + %{ #include <assert.h> #include <stdlib.h> |