discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gui from cvs compiling error


From: Fred Kiefer
Subject: Re: gui from cvs compiling error
Date: Sat, 26 Feb 2005 17:35:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Reuss Andras wrote:
I updated my gnustep installation from cvs, but gui would not compile at all. I 
got the following message:
Compiling file Functions.m ...
 Compiling file NSAlert.m ...
 Compiling file NSApplication.m ...
In file included from NSApplication.m:72:
../Headers/Additions/GNUstepGUI/GSServicesManager.h:42: warning: duplicate 
declaration for protocol `NSMenuItem'
../Headers/Additions/GNUstepGUI/GSServicesManager.h:44: parse error before 
"@interface"
../Headers/Additions/GNUstepGUI/GSServicesManager.h:60: parse error before '}' 
token
make[2]: *** [shared_obj/NSApplication.o] Error 1
make[1]: *** [libgnustep-gui.all.library.variables] Error 2
make[1]: Leaving directory `/usr/src/gnustep/core/gui/Source'
make: *** [internal-all] Error 2

I use gcc-3.0, linux 2.4 (debian woody). I sourced my gnustep dir before compiling. Btw. foundation works just fine.

I am a bit confused about your bug reports. First you state that you use current CVS, than you update and get a different error. Are you now using the actual CVS code?

The message you gets looks like your GCC gets confused when finding both a class and a protocol named NSMenuItem. I don't remember seeing this error message before and I don't have any glue how this could leead to the following error message. About a month ago Alexander Malmberg corrected a small problem reported by recent releases of GCC in this header file.

Could you try and update your GCC?

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]