weak for Darwin

Aaron W. LaFramboise aaronavay62@aaronwl.com
Tue Nov 2 04:35:00 GMT 2004


Geoff Keating wrote:

>>OK.  What do you think about adding a macro named something like
>>_GLIBCXX_WEAK_DEFINITION that is __attribute__((weak)) for Darwin,
>>nothing for PE targets, and whatever the concensus is for other 
>>targets?
> 
> Sure.  Will you make a patch, or should I?

I'm not really sure where the correct place to define this macro is.
The attached patch puts it in include/bits/c++config and the override in
config/os/mingw32/os_defines.h.  Is this right?

Aaron W. LaFramboise
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-mainline-20041101-weakdef.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041102/2b2400a3/attachment.ksh>


More information about the Libstdc++ mailing list