[cfe-dev] Is __attribute(weak) supposed to fail?
Eric Christopher
echristo at apple.com
Sat Jul 12 00:38:59 PDT 2008
On Jul 11, 2008, at 11:07 PM, Kelly W wrote:
> Hello all,
>
> Just wondering if ‘__attribute(weak)’ is supposed to fail in the
> Verifier due to it not being supported at this point for Linux? I
> checked around with Google and looked through the code a little…I
> can see weak support converted to objc_gc(weak) for Darwin and
> Solaris, but nothing for Linux. I was compiling libxml2 and the
> Verifier didn’t like ‘__attribute(weak);’ for an extern function
> declaration, so I thought I would ask.
>
Hunh. It shouldn't be too hard to support - is there a bug for it? If
it's supported in some way (objc_gc? weird.) on darwin it should be
easy to support on linux.
-eric
More information about the cfe-dev
mailing list