gnustep-dev
[Top][All Lists]
Advanced

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

Re: Native ObjC exceptions configure test broken with libobjc2


From: Andrew Pinski
Subject: Re: Native ObjC exceptions configure test broken with libobjc2
Date: Sat, 18 Sep 2010 11:30:19 -0700



On Sep 18, 2010, at 11:31 AM, David Chisnall <address@hidden> wrote:


On 18 Sep 2010, at 19:24, Nicola Pero wrote:

I'd suggest that libobjc2 could include a minimal Object implementation. Having Object is handy to perform simple configure tests and both the Apple and GNU runtime include a minimal implementation for that reason ... it would
make sense for libobjc2 to do so too ;-)

Actually, this test will fail with Apple's Modern Runtime too - Object no longer implements +new. If you define __OBJC2__ (which recent Apple compilers do, you only get these two methods on Object:

+class;
-(BOOL) isEqual:anObject;

+new is no longer allowed, so there is no defined way of creating Object instances. Using Object is generally not sensible, so I don't support it in libobjc2.

Except that is part of the gnu runtime abi so not defining it will break other things in general.


Else, if you have a patch to get the test to work with libobjc2 as it is,
I'd happily accept it.

I've already fixed most of the configure scripts to define their own root class, if they need it. It should be trivial to copy one of those across into this test.

David


_______________________________________________
Gnustep-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnustep-dev



reply via email to

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