This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [stdc++] Mark global new/delete operators as weak symbols


On Sep 4, 2013, at 7:30 AM, Romain Geissler <romain.geissler@gmail.com> wrote:
>> 2013-08-20  Romain Geissler  <romain.geissler@gmail.com>
>> 
>>    * config/os/gnu-linux/os_defines.h: (_GLIBCXX_WEAK_DEFINITION): Define.

Strikes me as wrong.  Using weak should be autoconfed or driven by the compiler and then respected by the library.  With that change, all targets, wether they are linux or not, then work.  The above fixes one target, at the expense of not fixing any other targets.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]