DC++ currently uses STLPort 4.6.2, however there is a new full release version (5.0.2).
Winmerging standard STLPort with the DCplusplus one, shows the following changes to definitions.
#define _STLP_NO_IOSTREAMS 1
#define _STLP_NO_CUSTOM_IO
#define _STLP_NO_ANACHRONISMS 1
#define _STLP_NEW_PLATFORM_SDK 1
#define _STLP_USE_OWN_NAMESPACE 1
#define _STLP_NO_OLD_HP_ITERATOR_QUERIES 1
The first 3 of which are now defined in config.h, meaning that they are not needed to be changed in the stlport files (i think, since when _STLP_NO_IOSTREAMS is defined in both, the compiler whines about duplicate definitions)
Now the next 3 aren't in that file (config.h), but DC++ also compiles fine with them not defined (on windows 2000 sp4, using Visual Studio 2003).
So for an upgrade of STLPort, should either
1) another DcplusplusStlport be provided, with the 3 relevant changes
2) them 3 other defines put in config.h
3) since it works without them defined, just change Compile.txt to say use the standard stlport 5.0.2 from the stlport website.
thanks.
STLPort upgrade
Moderator: Moderators
-
- Posts: 72
- Joined: 2004-01-23 14:45