https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87088
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to miltonkbenjamin from comment #0) > Created attachment 44589 [details] > Output from win_flex > > C:\parser>g++ -Xpreprocessor "C:\MinGW\msys\1.0\include\FlexLexer.h" > lex.yy.cc -Xpreprocessor passes an option to the preprocessor, but you're giving it a filename. Are you trying to have that file included? That would be -include "C:\MinGW\msys\1.0\include\FlexLexer.h" Also, GCC 5.4.0 is not supported, the oldest supported release is 6.4.0