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
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
