#166 Compile STLPort with VC9 (Visual Studio 2008)

5.1
closed-invalid
5
2008-03-26
2008-02-09
Pixel
No

Compiling STLPort 5.1.4 with VC9 (using the VC8 settings) produce compiler Errors C2487 (in _locale.h for instance).
It seems that the new compiler of Microsoft has the "Static const init bug".
I had to insert the following line at the end of in _msvc.h

#define _STLP_STATIC_CONST_INIT_BUG 1

Please add new rules for VC9 in the next STLPort release !

Discussion

  • Francois Dumont

    Francois Dumont - 2008-03-26

    Logged In: YES
    user_id=1096600
    Originator: NO

    This problem is in fact a Microsoft problem as signal here:

    http://support.microsoft.com/kb/127900

    SVN trunk do not suffer from this issue so this patch is invalid.

     
  • Francois Dumont

    Francois Dumont - 2008-03-26
    • assigned_to: nobody --> dums
    • status: open --> closed-invalid
     

Log in to post a comment.