incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek" <vi...@roguewave.com>
Subject RE: [PATCH] __rw_dbl_infinity ABI change with MSVC
Date Thu, 18 Oct 2007 18:36:33 GMT
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.

Travis

Mime
View raw message