Bug#45700: (Kdevelop tokenizer does not compile with gcc 3.1)

Caleb Tennis caleb at aei-tech.com
Wed Jul 24 18:03:04 UTC 2002


>
> > 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





More information about the KDevelop-devel mailing list