My generated scanner contains the lines:
#if __STDC_VERSION__ >= 199901L
These will fail to compile with gcc with the -Wundef
flag. I notice that the "defined __STDC_VERSION__"
check was removed from:
./flexint.h:8:#if __STDC_VERSION__ >= 199901L
The code as-is is perfectly legal C and C++, so you'd
be perfectly within your rights to reject this bug.
But... -Wundef has found bugs for us and, I guess,
enough others that they added it to gcc. So we would
be happier if the "defined" check were reinstated.
Well, I've done my bit by reporting it. Now I'm off to
find out why __STDC_VERSION__ isn't defined in our