Re: [pushed] libstdc++, Darwin: Fix weak attribute to use __weak__ instead of weak.

2022-12-04 Thread Jonathan Wakely via Gcc-patches
On Sun, 4 Dec 2022, 10:54 Iain Sandoe via Libstdc++, wrote: > As pointed out on irc by Jonathan, the Darwin os_defines contains a "weak" > attribute where we should use '__weak__'. Fixed thus, tested on i686, > x86_64 > Darwin and x86_64 Linux, pushed to master, thanks, > Iain > -- >8 -- > I

[pushed] libstdc++, Darwin: Fix weak attribute to use __weak__ instead of weak.

2022-12-04 Thread Iain Sandoe via Gcc-patches
As pointed out on irc by Jonathan, the Darwin os_defines contains a "weak" attribute where we should use '__weak__'. Fixed thus, tested on i686, x86_64 Darwin and x86_64 Linux, pushed to master, thanks, Iain -- >8 -- The text for _GLIBCXX_WEAK_DEFINITION has used 'weak' for the attribute name,