stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: [PATCH] __rw_dbl_infinity ABI change with MSVC
Date Thu, 18 Oct 2007 18:54:58 GMT
Travis Vitek wrote:
> Martin Sebor wrote:
>> Travis, while testing your updated patch, I wonder if it would be
>> possible to quickly and easily fix STDCXX-509 even for MSVC in
>> a binary compatible way by using #pragma init_seg to initialize
>> the constants before any user-defined objects?
>>
>> http://msdn2.microsoft.com/en-us/library/7977wcck(VS.71).aspx
>> http://msdn2.microsoft.com/en-us/library/7977wcck(VS.80).aspx
>>
>> Martin
> 
> Yes, I think this is okay. I've attached a patch that includes this
> change. I also added a rather ugly macro to use to guard this stuff to
> avoid repeating the crazy logic in multiple places.

Okay, thanks. Now I just need the ChangeLog.

Btw., how did you test this? And did you by any chance apply
Farid's patch for the exception symbols (with the correction
for the stdcxx version)?

Martin


Mime
View raw message