On Fri, Jun 19, 2015 at 03:22:49PM +0100, David Chisnall wrote: > > NetBSD: > > > sys/cdefs_elf.h > > #define __weak __attribute__((__weak__)) > > > > FreeBSD: > > > sys/cdefs.h > > #define __weak __attribute__((__weak__)) > > NetBSD is the only system that I’m aware of that has actually shipped > this, and it broke a lot of things.
"A lot of things"? Let's keep a sense of proportion: it broke exactly one thing and that's gnustep. This isn't the first time that Apple's language extension broke system headers either, see __block and glibc. Objective C has no more ownership of "__weak" than the OS has and the common style of header keywords is actually a much stronger reason *against* the pseudo-keyword use in Objective C. Joerg _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"