Mandrake9.0

Eric Klumpp klumpp at nerim.fr
Tue Oct 1 23:37:05 BST 2002


Hi,

I have done exactly the same thing and I had the same problem.
It seems that with gcc3 you must put "friend class classname" rather 
than "friend classname" ! If you read carefully the log file you will 
see that it tells you what to do   ;-)

Eric


Ian Porter a écrit:

>Hi 
>
>I have just installed mandrake version 9.0 and I tried Kdevelop it starts fine 
>but when I try to compile any project it comes back with an error, I am 
>wondering what I have done wrong ?  
>
>I was testing Kdevelop with a normal project created with the KDevelop create 
>function.
>
>The error log is below
>
>Thanks
>Ian
>
>make all-recursive 
>make[1]: Entering directory `/home/ian/Programming/KDeveloper/test' 
>Making all in test 
>make[2]: Entering directory `/home/ian/Programming/KDeveloper/test/test' 
>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include 
>-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O0 -g3 -Wall -fno-exceptions 
>-fno-check-new -c testview.cpp 
>In file included from testview.cpp:26: 
>testview.h:50: friend declaration requires class-key, i.e. `friend struct 
>TestDoc' 
>In file included from testview.cpp:27: 
>testdoc.h:52: friend declaration requires class-key, i.e. `friend class 
>TestView' 
>make[2]: Leaving directory `/home/ian/Programming/KDeveloper/test/test' 
>make[2]: *** [testview.o] Error 1 
>make[1]: Leaving directory `/home/ian/Programming/KDeveloper/test' 
>make[1]: *** [all-recursive] Error 1 
>make: *** [all-recursive-am] Error 2 
>*** failed *** 
>
>-
>to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
>unsubscribe »your-email-address«
>
>
>  
>



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



More information about the KDevelop mailing list