parts/cppsupport/tokenizer.cpp

Richard Dale Richard_Dale at tipitina.demon.co.uk
Sun Apr 22 17:02:20 UTC 2001


On Sun, 22 Apr 2001, you wrote:
> On Thu, 12 Apr 2001, Lorenzo Delana wrote:
> > compiling kdevelop from cvs... with gcc-3.0 results error in redefinition of 
> > istream or conflicts in general...
> > 
> > solve this with:
> > 
> > //class istream;
> > #include <iostream>
> > using namespace std;
> > 
> > at line 25 of the tokenizer.cpp code.
> 
> tokenizer.cpp is generated from tokenizer.l 
> Is the lex we use not up to date with standard C++?
I have SuSE 6.4, and the lex/flex rule in the makefile is broken. There is a
lex compatibility script which is supposed to call flex, but it doesn't work.
The cppsupport part had tokenizer.cpp checked in, so I thought it might be a
useful backstop for a non-working lex makefile in javasupport too. Do other
people have this problem - perhaps it would be better to remove tokenizer.ccp
from the CVS?

lex -+ -otokenizer.cpp ./tokenizer.l
/usr/bin/flex: Can't use -+ with -l option
make: *** [tokenizer.cpp] Error 1

-- Richard

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list