(Has something to do with the includes and namespaces and I found also a strange problem with a forward declaration...)
After some hours stumbling through the code I solved the problems by hand. "make" runs now fine...
Has someone a idea how to solve the problem(s?) with flexlexer?
(please excuse my horrible english!)
On Mittwoch, Februar 26, 2003, at 01:11 Uhr, Benjamin Reed wrote:
On Tuesday, February 25, 2003, at 06:03 PM, Moritz Zumbühl wrote:
hello,
/usr/include/gcc/darwin/3.1/g++-v3/backward/iostream.h:36: using declaration `
istream' introduced ambiguous type `istream'
tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()':
...
(I added "using namespace std;" to /usr/include/FlexLexer.h and tokenizer.cc)
How are you including iostream? A lot of times these types of things are cleaned up by using "#include <iostream>" instead of (the deprecated) "#include <iostream.h>". Not sure if that would help in your particular case.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel