weak for Darwin

Geoff Keating geoffk@geoffk.org
Wed Nov 3 00:08:00 GMT 2004


On 01/11/2004, at 10:31 PM, Benjamin Kosnik wrote:

>
>> libstdc++-v3/config/os/bsd/darwin ?
>
> Right.
>
> Can't this:
>
> _GLIBCXX_WEAK_DEFINITION void
>   operator delete (void *ptr) throw ()
>
> be:
>
>   void
>   operator delete (void *ptr) throw () _GLIBCXX_WEAK_DEFINITION

It can, but I think the first is more correct, since 'weak' applies to 
the declaration, not the type (like 'static').
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041103/215fee7a/attachment.p7s>


More information about the Libstdc++ mailing list