discuss-gnustep
[Top][All Lists]
Advanced

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

Re: weak redefinition


From: Alessandro Sangiuliano
Subject: Re: weak redefinition
Date: Tue, 14 Apr 2015 17:47:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0



Il 14/04/2015 16:04, Riccardo Mottola ha scritto:
Hi,

David Chisnall wrote:
It appears that all NetBSD headers are incompatible with Objective-C. Probably worth filing a bug with them - this is even harder to work around than the glibc issue of using __block as a variable name.

I reported to NetBSD and they said it is a bug in obj-c or gnustep, because we don't have to mess around with symbols with __ as prefix because they are system reserved.
The most polite reply I got is
"Don't blame NetBSD though, because these are system headers..."

Then, they will not have obj-c support

As you can see here:

https://developer.apple.com/library/ios/releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html

ARC was introduced in 2011



Now it was easy before: until latest release 6.1.5 NetBSD did not define __weak but
#define __weak_reference(sym)   __attribute__((__weakref__(#sym)))

Riccardo

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



Alex



reply via email to

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