GnuWin32 Flex output with -+ option does not compile
in MSVC 7
The first reason is MSVC has no iostream.h but iostream
Changing this in FlexLexer.h does not help, because
istream type is defined in flex output as
class istream;
but in MSVC it is
typedef basic_istream<char, char_traits<char> > istream;
which causes compilation error
'use of undefined type istream'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GnuWin32 Flex output with -+ option does not compile
in MSVC 7
The first reason is MSVC has no iostream.h but iostream
Changing this in FlexLexer.h does not help, because
istream type is defined in flex output as
class istream;
but in MSVC it is
typedef basic_istream<char, char_traits<char> > istream;
which causes compilation error
'use of undefined type istream'
In fact I fixed this issue using source code. I need somebody to properly update
the sources.