[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    RE: Bug#45700: (Kdevelop tokenizer does not compile with gcc 3.1)
From:       "Caleb Tennis" <caleb () aei-tech ! com>
Date:       2002-07-24 15:59:54
[Download RAW message or body]


>
> > What is the correct way to report these kinds of problems?
> Maintainers of
> > other KDE applications don't seem to mind using the bug database for CVS
> > build failures.
>
> AFAIK kdevelop guys decided against it.

No comment on the use of the bug tracking system for cvs, but I do have a
fix for this bug (I had the same problem)

I had to go into FlexLexer.h (mine was in /usr/include), to line 47

redefine #include <istream.h>

and change it to

#include <iotream>

add the line

using namespace std;

and I ended up having to remove the extern "C++" linkage around that
particular class definition.

After doing that, it seemed to compile for me.  Your system may vary a
little bit, but it gets confused between the istream defined in the
tokenizer.cpp and the istream defined in the flexlexer



Let me know if you have more troubles,
Caleb


_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic