www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - STLPort streams not used?

reply "Dimitri Kaparis" <dkaparis universalstudyhelper.com> writes:
Hello,

It seems that the library version of STL Port is no longer used, even if
_STLP_NO_NEW_IOSTREAMS is NOT defined (as advised in the readme.txt file),
in Digital Mars 8.34 CD version.
I just created a small project using stream input/output, without including
the stl library. I built it succesfully and the linker did not complain.
A quick glance in the streams headers showed they are checking for
_STLP_OWN_IOSTREAMS, but defining that did not have the desired effect to
use stream classes from the static library, either.

On a side note, the readme.txt file advises to modify
\dm\stlport\stlport\config\stl_dm.h to uncomment the definition of
_STLP_NO_NEW_IOSTREAMS. Actually that definition is in
\dm\stlport\stlport\stl_user_config.h .

Regards,
Dimitri

-- 
http://www.universalstudyhelper.com - Universal Study Helper
Learn and memorize quickly and efficiently any subject and information!
Jul 06 2003
parent reply "Greg Peet" <admin gregpeet.com> writes:
Thanks for the tip!

-- 
Regards,
Gregory Peet

Fellow Digital Martian
STLSoft FAQ: http://stlsoft.gregpeet.com
Jul 07 2003
parent "Dimitri Kaparis" <dkaparis universalstudyhelper.com> writes:
You're welcome, but can anyone clarify the issue with STLPort static
libraries? Why aren't they linked anymore?

"Greg Peet" <admin gregpeet.com> wrote in message
news:beb9cn$2sp2$1 digitaldaemon.com...
 Thanks for the tip!

 -- 
 Regards,
 Gregory Peet

 Fellow Digital Martian
 STLSoft FAQ: http://stlsoft.gregpeet.com
Jul 07 2003