On Tue, Apr 14, 2015 at 06:46:39PM +0200, Riccardo Mottola wrote: > Hi, > > chris...@astron.com (Christos Zoulas) wrote: > >I sympathize about __weak, but I don't understand what is it trying to > >do here because I don't have the context in GSConfig.h. It looks to > >me like it is part of a nested cpp if statement, which perhaps is going > >the wrong way because it does not know how to handle NetBSD or it fails > >to detect NetBSD. Nevertheless, defining symbols in the __ space should > >be protected or avoided. > > > >Don't blame NetBSD though, because these are system headers... > > after some research, I carry the proof. __weak (and __strong) is an > Objective-C keyword instroduced when Apple introduced garbage > collection. > Thus the change from 6.1.5 header to current header essentially > breaks objective-c.
This is pretty much irrelevant. The C standard is very clear on what is implementation namespace or not. GNUstep is wrong. Period. Joerg