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..."
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