discuss-gnustep
[Top][All Lists]
Advanced

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

Re: core/base build error


From: Richard Frith-Macdonald
Subject: Re: core/base build error
Date: Tue, 20 Aug 2002 06:36:59 +0100

On Monday, August 19, 2002, at 10:31 PM, Ted Stern wrote:

sparc-sun-solaris2.8, gcc 3.1, latest CVS, error in core/base build:

      NSNotificationCenter.m:45: duplicate member `_name'
      NSNotificationCenter.m:46: duplicate member `_object'
      NSNotificationCenter.m:47: duplicate member `_info'
NSNotificationCenter.m: In function `-[NSNotificationCenter postNotificationName:object:userInfo:]': NSNotificationCenter.m:1234: instance variable `_name' is declared protected NSNotificationCenter.m:1235: instance variable `_object' is declared protected NSNotificationCenter.m:1236: instance variable `_info' is declared protected NSNotificationCenter.m:536: confused by earlier errors, bailing out
      make[2]: *** [shared_obj/sparc/solaris2.8/gnu-gnu-
gnu/NSNotificationCenter.o] Error 1
      make[1]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: Leaving directory `/home/users/stern/opt/src/gnustep/core/base/Source'
      make: *** [internal-all] Error 2

Is this an include error on my part?  I can provide the complete include
search path if req'd.

That would be interesting.

I'd guess you are picking up an old NSNotification.h and can simply fix things by removing it ... but the makefiles should be setting the include path so that
you pick up the latest header, so this should not be happening.

The other possibility would be that you updated the .m file from cvs without
updating the NSNotification.h file.





reply via email to

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