help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

errors compiling flex++ output


From: Alex Kuznetsov
Subject: errors compiling flex++ output
Date: Sat, 28 Dec 2002 22:54:26 -0800

When I try to compile lex.yy.cc file created with flex++.exe
I have following errors:

BTW I use:
flex++.exe v. 2.5.4-2
gcc.exe v. 3.2-3
Windows 2000




21:41:26 calc_or$ gcc  lex.yy.cc -Wno-deprecated
In file included from /usr/include/FlexLexer.h:47,
                 from lex.yy.cc:236:
/usr/include/c++/3.2/backward/iostream.h:36: using declaration `istream'
   introduced ambiguous type `istream'
lex.yy.cc: In member function `virtual int yyFlexLexer::yylex()':
lex.yy.cc:706: cannot convert `std::istream*' to `istream*' in assignment
lex.yy.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
lex.yy.cc:1239: cannot convert `istream*' to `std::istream*' in assignment
lex.yy.cc: In member function `void
   yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lex.yy.cc:1290: cannot convert `std::istream*' to `istream*' in assignment

Please advise!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]