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