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