Current-Users archive

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

Re: __weak definition and problems with Obj-C



On Thu, May 07, 2015 at 09:46:46AM +0200, Riccardo Mottola wrote:
> Hi,
> 
> Joerg Sonnenberger wrote:
> >I don't see why we have to provide it. The broken objective C headers
> >can just undef it if they want to insist...
> 
> it is a reserved keyword, it is like you would mess up with "const",
> just that you can't because you are writing C code. You may argue it
> was a bad choice to prepend it with __, but it is not my decision
> nor those people who implemented the open versions of this language.
> 
> You can continue with your stubbornness or not, up to you. I like
> operating systems who play nice to different languages and NetBSD
> has a long tradition of being friendly.

If they want to mess with the implementation namespace, they can just as
easily undef it.

Joerg


Home | Main Index | Thread Index | Old Index