discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Garbage Collection


From: Richard Frith-Macdonald
Subject: Re: Garbage Collection
Date: Sun, 29 May 2011 06:06:10 +0100

On 28 May 2011, at 22:52, Richard Frith-Macdonald wrote:

> 
> On 25 May 2011, at 12:47, David Chisnall wrote:
> 
>> To use this, all you need to do is compile the runtime with boehm_gc=yes and 
>> add -fobic-gc-only to your OBJCFLAGS everywhere else.  Please let me know if 
>> you find anything that breaks. 
> 
> Something in the changes to support GC with clang/libobjc2 has broken 
> building for GC with gcc as follows:
> 
> In file included from NSConcreteHashTable.m:38:0:
> NSConcretePointerFunctions.h: In function ‘pointerFunctionsAssign’:
> NSConcretePointerFunctions.h:127:32: error: ‘itemptr’ undeclared (first use 
> in this function)
> NSConcretePointerFunctions.h:127:32: note: each undeclared identifier is 
> reported only once for each function it appears in
> make[4]: *** [obj/libgnustep-base.obj/NSConcreteHashTable.m.o] Error 1
> make[3]: *** [internal-library-all_] Error 2
> make[2]: *** [libgnustep-base.all.library.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2


I saw this commit log:

>> Author: theraven
>> Date: Sun May 29 00:35:57 2011
>> New Revision: 33185
>> 
>> URL: http://svn.gna.org/viewcvs/gnustep?rev=33185&view=rev
>> Log:
>> (Hopefully) fix the build with GS_WITH_GC.
>> 
>> 
>> Modified:
>>    libs/base/trunk/Source/NSConcretePointerFunctions.h

That lets a build of base get further, thanks.

However, it now fails as follows:

AGSParser.m: In function ‘-[AGSParser parseDeclaration]’:
AGSParser.m:1747:9: error: ‘arp’ undeclared (first use in this function)
AGSParser.m:1747:9: note: each undeclared identifier is reported only once for 
each function it appears in
AGSParser.m: In function ‘-[AGSParser parseImplementation]’:
AGSParser.m:2209:8: error: ‘arp’ undeclared (first use in this function)
AGSParser.m: In function ‘-[AGSParser parseInterface]’:
AGSParser.m:2404:4: error: ‘arp’ undeclared (first use in this function)
AGSParser.m: In function ‘-[AGSParser parseMethodIsDeclaration:]’:
AGSParser.m:2953:4: error: ‘arp’ undeclared (first use in this function)
AGSParser.m: In function ‘-[AGSParser parseProtocol]’:
AGSParser.m:3664:4: error: ‘arp’ undeclared (first use in this function)
AGSParser.m: In function ‘-[AGSParser setupBuffer]’:
AGSParser.m:4111:4: error: ‘arp’ undeclared (first use in this function)
make[4]: *** [obj/autogsdoc.obj/AGSParser.m.o] Error 1
make[3]: *** [internal-tool-all_] Error 2
make[2]: *** [autogsdoc.all.tool.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2




reply via email to

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