www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - re: STLsoft and STLport

reply "Matthew Wilson" <matthew stlsoft.org> writes:
Andre

First, glad that you're interested in STLSoft. (Have you joined the mailing
list, btw?)

Second, the STLSoft newsgroup is at news://news.digitalmars.com/c++.stlsoft.
I check that one frequently, and this one (microsoft.public.vc.stl) a lot
less frequently, so you're "lucky" to have got me here.

Third, it looks like you've highlighted a lack of comprehensiveness of my
testing, for which I can only apologise. STLSoft & STLport work together for
several compilers, but it seems I've not ensured that they do for VC++ 7.0
or 7.1.

I am looking at it now, and have so far resolved two potential sources of
your error. I've got VC7.0 + STLport working with all the the test programs,
and am looking at VC7.1 now.

It is doubtful that I'll be able to make a new release of STLSoft for some
weeks yet, but if I can get all the issues resolved I will ensure that I
post a patch (probably just stlsoft_iterator.h) on the website and on the
newsgroup.


-- 
Matthew Wilson

STLSoft moderator and C++ monomaniac

mailto:matthew stlsoft.org
http://www.stlsoft.org
news://news.digitalmars.com/c++.stlsoft

"If i'm curt with you it's because time is a factor. I think fast, I talk
fast, and I need you guys to act fast" -- Mr Wolf

----------------------------------------------------------------------------
---


"Andre Madeira" <andre_madeira yahoo.de> wrote in message
news:4ebd32c1.0308051204.613b423a posting.google.com...
 Hi. I recently downloaded STLsoft and WinSTL (stlsoft.org winstl.org)
 and I'm trying to compile a simple example with VC++ 7 (VS.NET) and
 STLport.

 I'm getting the errors below. According to STLport's stl_msvc.h config
 file, it defines the following flags, which I believe might be causing
 the errors since reverse_iterator is defined differently depending
 upon these flags.


 // there is no partial spec, and MSVC breaks on simulating it for
 iterator_traits queries


 I could not find any help on neither STLsoft nor STLport websites. I
 was wondering if anybody had any similar problems compiling STLSoft
 with STLport.

 Thank you,
 Andre Madeira
 CommVault Systems
 (madeira commvault.com)

 -------------

 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(365) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(397) : see
 reference to class template instantiation
 'stlsoft::reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(368) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(418) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(450) : see
 reference to class template instantiation
 'stlsoft::const_reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(421) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
Aug 06 2003
next sibling parent "Matthew Wilson" <matthew stlsoft.org> writes:
Andre

It would be helpful to know which VC you are using: is it 7.0 or 7.1.

The reason I ask is that my version of STLport precipitates a lot of

  "p:\sdks\stlport\STLport-4.5.3\stlport\stl\_string.c(337): warning C4346:
'_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is
not a type"

and similar from VC 7.1. AFAIK, STLport 4.5.3 (which I'm using) is the
latest version, so it looks as though the STLport-guys have not yet updated
for VC7.1.

So either you're using VC7.0 (which means I can maybe stop now, and wait to
address STLSoft+STLport+VC7.1 when STLport works with VC7.1), or you've got
a patch or beta from STLport.

If you could let me know, that'd be a big help

Cheers

Matthew

"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:bgq8uc$3km$1 digitaldaemon.com...
 Andre

 First, glad that you're interested in STLSoft. (Have you joined the
mailing
 list, btw?)

 Second, the STLSoft newsgroup is at
news://news.digitalmars.com/c++.stlsoft.
 I check that one frequently, and this one (microsoft.public.vc.stl) a lot
 less frequently, so you're "lucky" to have got me here.

 Third, it looks like you've highlighted a lack of comprehensiveness of my
 testing, for which I can only apologise. STLSoft & STLport work together
for
 several compilers, but it seems I've not ensured that they do for VC++ 7.0
 or 7.1.

 I am looking at it now, and have so far resolved two potential sources of
 your error. I've got VC7.0 + STLport working with all the the test
programs,
 and am looking at VC7.1 now.

 It is doubtful that I'll be able to make a new release of STLSoft for some
 weeks yet, but if I can get all the issues resolved I will ensure that I
 post a patch (probably just stlsoft_iterator.h) on the website and on the
 newsgroup.


 -- 
 Matthew Wilson

 STLSoft moderator and C++ monomaniac

 mailto:matthew stlsoft.org
 http://www.stlsoft.org
 news://news.digitalmars.com/c++.stlsoft

 "If i'm curt with you it's because time is a factor. I think fast, I talk
 fast, and I need you guys to act fast" -- Mr Wolf

 --------------------------------------------------------------------------
--
 ---


 "Andre Madeira" <andre_madeira yahoo.de> wrote in message
 news:4ebd32c1.0308051204.613b423a posting.google.com...
 Hi. I recently downloaded STLsoft and WinSTL (stlsoft.org winstl.org)
 and I'm trying to compile a simple example with VC++ 7 (VS.NET) and
 STLport.

 I'm getting the errors below. According to STLport's stl_msvc.h config
 file, it defines the following flags, which I believe might be causing
 the errors since reverse_iterator is defined differently depending
 upon these flags.


 // there is no partial spec, and MSVC breaks on simulating it for
 iterator_traits queries


 I could not find any help on neither STLsoft nor STLport websites. I
 was wondering if anybody had any similar problems compiling STLSoft
 with STLport.

 Thank you,
 Andre Madeira
 CommVault Systems
 (madeira commvault.com)

 -------------

 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(365) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(397) : see
 reference to class template instantiation
 'stlsoft::reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(368) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(418) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(450) : see
 reference to class template instantiation
 'stlsoft::const_reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(421) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
Aug 06 2003
prev sibling parent "Matthew Wilson" <matthew stlsoft.org> writes:
Andre

I've got STLSoft+STLport+VC7.0 working, and you may download the patch -
containing just 5 files, of which stlsoft_iterator.h is the crucial one - at
http://synesis.com.au/downloads/stlsoft/stlsoft_pre-1_6_5-6th_Aug_2003.zip

Please note that this has not gone through an exhaustive test - I've built
all the WinSTL and STLSoft test programs with and without STLport in VC 7.0
and 6.0 only - so take care to backup your current STLSoft directory before
copying these files over the top.

I expect all will be well, but if not you should back out. If that's the
case, then hopefully you can use VC7.0's (Dinkumware) libraries. If the
changes do not help, and you really need STLport, send me another note, but
I have to be up-front and say I'm unlikely to have more time to spend on
this until after 18th August.

If it's VC7.1 you're using, then you're out of luck for the moment, I'm
afraid, until I can get hold of an STLport that works with VC7.1. Having
said that, of course, you may find the patch causes STLSoft+STLport+VC7.1 to
work, but I cannot guarantee that. :)

Let me know how you go, either way.

Cheers

Matthew

"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:bgq8uc$3km$1 digitaldaemon.com...
 Andre

 First, glad that you're interested in STLSoft. (Have you joined the
mailing
 list, btw?)

 Second, the STLSoft newsgroup is at
news://news.digitalmars.com/c++.stlsoft.
 I check that one frequently, and this one (microsoft.public.vc.stl) a lot
 less frequently, so you're "lucky" to have got me here.

 Third, it looks like you've highlighted a lack of comprehensiveness of my
 testing, for which I can only apologise. STLSoft & STLport work together
for
 several compilers, but it seems I've not ensured that they do for VC++ 7.0
 or 7.1.

 I am looking at it now, and have so far resolved two potential sources of
 your error. I've got VC7.0 + STLport working with all the the test
programs,
 and am looking at VC7.1 now.

 It is doubtful that I'll be able to make a new release of STLSoft for some
 weeks yet, but if I can get all the issues resolved I will ensure that I
 post a patch (probably just stlsoft_iterator.h) on the website and on the
 newsgroup.


 -- 
 Matthew Wilson

 STLSoft moderator and C++ monomaniac

 mailto:matthew stlsoft.org
 http://www.stlsoft.org
 news://news.digitalmars.com/c++.stlsoft

 "If i'm curt with you it's because time is a factor. I think fast, I talk
 fast, and I need you guys to act fast" -- Mr Wolf

 --------------------------------------------------------------------------
--
 ---


 "Andre Madeira" <andre_madeira yahoo.de> wrote in message
 news:4ebd32c1.0308051204.613b423a posting.google.com...
 Hi. I recently downloaded STLsoft and WinSTL (stlsoft.org winstl.org)
 and I'm trying to compile a simple example with VC++ 7 (VS.NET) and
 STLport.

 I'm getting the errors below. According to STLport's stl_msvc.h config
 file, it defines the following flags, which I believe might be causing
 the errors since reverse_iterator is defined differently depending
 upon these flags.


 // there is no partial spec, and MSVC breaks on simulating it for
 iterator_traits queries


 I could not find any help on neither STLsoft nor STLport websites. I
 was wondering if anybody had any similar problems compiling STLSoft
 with STLport.

 Thank you,
 Andre Madeira
 CommVault Systems
 (madeira commvault.com)

 -------------

 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(365) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(397) : see
 reference to class template instantiation
 'stlsoft::reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(368) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(418) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
         d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(450) : see
 reference to class template instantiation
 'stlsoft::const_reverse_iterator_base<I,T,R,P,D>' being compiled
 d:\builds\tip\QNet\STLSoft\stlsoft_iterator.h(421) : error C2976:
 '_STL::reverse_iterator' : too few template arguments
         D:\stlport\stlport\stl\_iterator_old.h(235) : see declaration
 of '_STL::reverse_iterator'
Aug 06 2003