www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - compile problem with stlport 5.00

reply "chenchang" <baibaichen sohu.com> writes:
hi
i met a complie problem with stlport 5.0, just write code like the fellow

#include <string>
#include <stlsoft.h>
#include <stlsoft/string_tokeniser.hpp>

int main()
{
    return 0;
}

the vc7.1 report:
string_access.hpp(308) : error C2084: function 'const stlsoft::ss_char_a_t
*stlsoft::c_str_ptr_null_a(const stlpmtx_std::string &)' already has a body

d:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft\string_access.hpp(275) :
see previous definition of 'c_str_ptr_null_a'

thanks
Dec 12 2005
parent reply "Matthew" <matthew stlsoft.com> writes:
I don't have a version of 5.0, and the stlport site doesn't appear to have a 
download. Where can I get hold of it?

"chenchang" <baibaichen sohu.com> wrote in message 
news:dnjc1n$dhb$1 digitaldaemon.com...
 hi
 i met a complie problem with stlport 5.0, just write code like the fellow

 #include <string>
 #include <stlsoft.h>
 #include <stlsoft/string_tokeniser.hpp>

 int main()
 {
    return 0;
 }

 the vc7.1 report:
 string_access.hpp(308) : error C2084: function 'const stlsoft::ss_char_a_t
 *stlsoft::c_str_ptr_null_a(const stlpmtx_std::string &)' already has a 
 body

 d:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft\string_access.hpp(275) :
 see previous definition of 'c_str_ptr_null_a'

 thanks

 

Dec 12 2005
parent reply "chenchang" <baibaichen sohu.com> writes:
hi matthew,
u can download it at http://sourceforge.net/projects/stlport

thanks
chang.

"Matthew" <matthew stlsoft.com> wrote in message
news:dnjg2d$mkk$1 digitaldaemon.com...
 I don't have a version of 5.0, and the stlport site doesn't appear to have

 download. Where can I get hold of it?

 "chenchang" <baibaichen sohu.com> wrote in message
 news:dnjc1n$dhb$1 digitaldaemon.com...
 hi
 i met a complie problem with stlport 5.0, just write code like the


 #include <string>
 #include <stlsoft.h>
 #include <stlsoft/string_tokeniser.hpp>

 int main()
 {
    return 0;
 }

 the vc7.1 report:
 string_access.hpp(308) : error C2084: function 'const


 *stlsoft::c_str_ptr_null_a(const stlpmtx_std::string &)' already has a
 body

 d:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft\string_access.hpp(275)


 see previous definition of 'c_str_ptr_null_a'

 thanks


Dec 12 2005
parent reply "Matthew" <matthew stlsoft.com> writes:
fixed.

Here's the new version of stlsoft/string_access.hpp

Cheers

Matthew




"chenchang" <baibaichen sohu.com> wrote in message 
news:dnjgv4$ovl$1 digitaldaemon.com...
 hi matthew,
 u can download it at http://sourceforge.net/projects/stlport

 thanks
 chang.

 "Matthew" <matthew stlsoft.com> wrote in message
 news:dnjg2d$mkk$1 digitaldaemon.com...
 I don't have a version of 5.0, and the stlport site doesn't appear to 
 have

 download. Where can I get hold of it?

 "chenchang" <baibaichen sohu.com> wrote in message
 news:dnjc1n$dhb$1 digitaldaemon.com...
 hi
 i met a complie problem with stlport 5.0, just write code like the


 #include <string>
 #include <stlsoft.h>
 #include <stlsoft/string_tokeniser.hpp>

 int main()
 {
    return 0;
 }

 the vc7.1 report:
 string_access.hpp(308) : error C2084: function 'const


 *stlsoft::c_str_ptr_null_a(const stlpmtx_std::string &)' already has a
 body

 d:\My_Data\C++\3rd_lib\stlsoft189\include\stlsoft\string_access.hpp(275)


 see previous definition of 'c_str_ptr_null_a'

 thanks



Dec 13 2005
parent reply "chenchang" <baibaichen sohu.com> writes:
hi, it shoulde be included in the new release? right?
and when did u release new release?

thanks
chang

"Matthew" <matthew stlsoft.com> wrote in message
news:dnnpig$2h66$1 digitaldaemon.com...
 fixed.

 Here's the new version of stlsoft/string_access.hpp

 Cheers

 Matthew




 "chenchang" <baibaichen sohu.com> wrote in message
 news:dnjgv4$ovl$1 digitaldaemon.com...
 hi matthew,
 u can download it at http://sourceforge.net/projects/stlport

 thanks
 chang.

 "Matthew" <matthew stlsoft.com> wrote in message
 news:dnjg2d$mkk$1 digitaldaemon.com...
 I don't have a version of 5.0, and the stlport site doesn't appear to
 have

 download. Where can I get hold of it?

 "chenchang" <baibaichen sohu.com> wrote in message
 news:dnjc1n$dhb$1 digitaldaemon.com...
 hi
 i met a complie problem with stlport 5.0, just write code like the


 #include <string>
 #include <stlsoft.h>
 #include <stlsoft/string_tokeniser.hpp>

 int main()
 {
    return 0;
 }

 the vc7.1 report:
 string_access.hpp(308) : error C2084: function 'const


 *stlsoft::c_str_ptr_null_a(const stlpmtx_std::string &)' already has




 body




 :
 see previous definition of 'c_str_ptr_null_a'

 thanks




Dec 13 2005
parent "Matthew" <matthew stlsoft.com> writes:
 hi, it shoulde be included in the new release? right?

It will be.
 and when did u release new release?

I will be releasing a beta for 1.9 in the next week or so. 1.9.1 will take longer, not until the new year.
Dec 13 2005