Bug#29953: Problems compiling KDevelop 2.0 with GCC 3 on Alpha

Simon Hausmann hausmann at kde.org
Wed Aug 1 10:47:23 UTC 2001


On Tue, Jul 31, 2001 at 08:50:46PM +0200, Harald Fernengel wrote:
> Hi,
> 
> ok, you need a slightly patched tokenizer.cc but the change is a one-liner? :)
> 
> Can't we just include the iostream.h in the tokenizer.l file where we already 
> include qstring.h and stdlib.h?

Unfortunately that doesn't work. The other option would be something along the
lines of 

Index: Makefile.am
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/classparser/Attic/Makefile.am,v
retrieving revision 1.13.2.4.2.5
diff -u -p -b -r1.13.2.4.2.5 Makefile.am
--- Makefile.am 2001/04/14 21:22:58     1.13.2.4.2.5
+++ Makefile.am 2001/08/01 10:46:37
@@ -15,4 +15,5 @@ EXTRA_DIST = ClassParser.cc ClassParser.
 
 tokenizer.cc: tokenizer.l
        $(LEX) -+ -otokenizer.cc $(srcdir)/tokenizer.l
+       perl -pi -e "s,class istream;,#include <iostream\.h>," tokenizer.cc
 KDE_OPTIONS = nofinal

Not sure if a build time dependency on perl is better than including the 
generated files though.

Bye,
 Simon

-
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