[patch PR libstdc++/51135]: Fix [4.7 Regression] SIGSEGV during exception cleanup on win32

Marc Glisse marc.glisse@inria.fr
Mon Dec 12 17:45:00 GMT 2011


On Mon, 12 Dec 2011, Paolo Carlini wrote:

> On 12/12/2011 04:28 PM, Paolo Carlini wrote:
>> Hi,
>>> Ok. By looking at this, it might be better to use here a define - as you 
>>> mentioned. As I would need to copy here namespace too. 
>> Ok, thanks. Let's make sure nothing can possibly change for != mingw, we 
>> don't want to take risks at this time.
> For the time being I reverted the whole thing, the unwind-cxx.h bits in 
> particular made me very nervous, because we have "C++" linkage in that case. 
> Please make sure to handle it correctly in the next try.

Actually, g++ currently simply ignores the linkage as part of function 
types, so this shouldn't have any effect. But it won't hurt to keep it 
inside extern "C" ;-)

-- 
Marc Glisse



More information about the Libstdc++ mailing list