I've been trying STLport 5 (we're currently using 5.0.1) with VS2008. As far as I can tell, the only problem is a missing #define in the config header _msvc.h. 5.1.5 does not have this set up either. Without this, you get lots of errors conforming to MS KB127900.
stlport\stlport\stl/_locale.h(108) : error C2487:
'collate' : member of dll interface class may not be declared with dll interface
etc.
If _STLP_STATIC_CONST_INIT_BUG is defined manually, everything appears to compile and link. Changing the compiler version used in the _msvc.h from 1401 to 1500 also appeared to solve the problem.
Obviously since this is a feature request I'd request a bit more in the way of testing beyond just changing this #define for the next release.
Thanks.
Logged In: YES
user_id=2127218
Originator: YES
Also discovered that the debug mode of STLport conflicts with the new Windows SDK 2008 - both define a token __in_range (STLport as a debugging function, Windows as a macro). This leads to a compiler error. Turning off STLport debug mode suppresses it.
Have you tried the patch from http://sourceforge.net/mailarchive/message.php?msg_name=47EA87B5.70509%40asamnet.de ?
With this I could build STLPort 5.1.5 under msvc9 (Visual Studio 2008).
I have attached the patch, since the link is broken.
Thanks! You will be surprised but yesturday I finish porting by myself) I haven't rebuild stlport dll, just projects that uses STLPort.
The main problem was Visual Studio 2019 split include filders into two parts, the only work is to fix includes. Later I plan to test my fix on Linux to make sure it doesn't break the Linux build