|
From: | Arun Goel |
Subject: | flex using g++ |
Date: | Thu, 12 Sep 2002 14:12:09 -0500 |
Hi ,
I am using flex to generate C++ code. I am getting the following error message.. __________________________________________________________________________ DataQueryParser.C: In member function `virtual int yyFlexLexer::yylex()': DataQueryParser.C:903: cannot convert `std::istream*' to `istream*' in assignment DataQueryParser.C: In member function `void yyFlexLexer::yy_load_buffer_state()': DataQueryParser.C:1436: cannot convert `istream*' to `std::istream*' in assignment DataQueryParser.C: In member function `void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)': DataQueryParser.C:1486: cannot convert `std::istream*' to `istream*' in assignment __________________________________________________________________________ I am using #include<iostream> //no .h in the input file which is being used to generate the code. I am using Mandrake 8.2 Linux & g++ 3.1 compiler to compile the generated C++ file(DataQueryParser.C). Any idea what I am doing wrong. Any help will be appreciated.. Regards ---------------- Arun Goel http://www.crml.uab.edu/~ag |
[Prev in Thread] | Current Thread | [Next in Thread] |