Re: [Boost-users] Too stupid to install Boost

VC6 might be too early a compiler to support some of the stuff regex uses (i.e. its non-compliant for some template C++ features)....Does it work with a later compiler?? James
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Thomas Sent: 31 August 2006 15:19 To: boost-users@lists.boost.org Subject: [Boost-users] Too stupid to install Boost
Hi, I would like to use the Boost RegEx Library. Somehow I failed installing it (WinXP, VC6). Is there a step by step instruction to get boost running under this configuration? The steps I took so far: 1) Set the MSDevDir and MSVCDir EnvVars by hand. 2) Compiled BJam and copied it to the boost root. 3) Execute bjam "-sTOOLS msvc" install 4) Set the path for include files and libraries in Tools->Options->Directories to the folder I unzipped Boost to.
Got the following error messages while trying to compile a simple regex example :(
Thanks in advance, Thomas
::boost::re_detail::concrete_protected_call
>,struct boost::regex_traits > >(class boost::re_detail::perl_matcher >,struct boost::regex_traits --------------------Configuration: trwetst - Win32 Release-------------------- Compiling... trwetst.cpp C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call
>,struct boost::re gex_traits >,struct boost::regex_traits ::*' to 'bool (__ thiscall T::*)(void)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher
>,struct boost::regex_traits >,struct boost::regex_traits >::* )' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call >,class boost::cpp _regex_traits<char> > ::boost::re_detail::concrete_protected_call >,class boost::cpp_regex_traits<char> > >(class boost::re_detail::perl_ma tcher >,class boost::cpp_regex_traits<char> > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher ,class boost::cpp_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,class boost::cpp_regex_traits<char> ::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,class boost::cpp_regex_traits<char> >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call >,struct boost::c_ regex_traits<char> > ::boost::re_detail::concrete_protected_call >,struct boost::c_regex_traits<char> > >(class boost::re_detail::perl_matc her >,struct boost::c_regex_traits<char> > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher ,struct boost::c_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,struct boost::c_regex_traits<char> >::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,struct boost::c_regex_traits<char> >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call >,class boost::w32 _regex_traits<char> > ::boost::re_detail::concrete_protected_call >,class boost::w32_regex_traits<char> > >(class boost::re_detail::perl_ma tcher >,class boost::w32_regex_traits<char> > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher ,class boost::w32_regex_traits<char> >::*' to 'bool (__thiscall T::*)(void)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,class boost::w32_regex_traits<char> ::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,class boost::w32_regex_traits<char> >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call > ::boost::re_detail::concrete_protected_call >,struct boost::regex_traits > >(class boost::re_detail::perl_matcher >,s truct boost::regex_traits > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher >,struct boost::regex_traits >::*' to 'bool (__thiscall T::*)(void)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,struct boost::r egex_traits ::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,struct boost:: regex_traits >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call ::boost::re_detail::concrete_protected_call >,class boost::cpp_rege x_traits<unsigned short> > >(class boost::re_detail::perl_matcher >,class boost::cpp_regex_traits<unsigned short> > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher >,class boost::cpp_regex_traits<unsigned short> >::*' to 'bool (__thiscall T::*)(v oid)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,class boost::cp p_regex_traits<unsigned short> ::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,class boost::cpp_regex_traits<unsigned short> >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call ::boost::re_detail::concrete_protected_call >,struct boost::c_regex_ traits<unsigned short> > >(class boost::re_detail::perl_matcher >,struct boost::c_regex_traits<unsigned short> > *,bool (__thiscall T::*)(void))' : cannot co nvert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher >,struct boost::c_regex_traits<unsigned short> ::*' to 'bool (__thiscall T::*)(void) ' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,struct boost::c _regex_traits<unsigned short> ::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,struct boost::c_regex_traits<unsigned short> >::*)' C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: '__thiscall boost::re_detail::concrete_protected_call ::boost::re_detail::concrete_protected_call >,class boost::w32_rege x_traits<unsigned short> > >(class boost::re_detail::perl_matcher >,class boost::w32_regex_traits<unsigned short> > *,bool (__thiscall T::*)(void))' : cannot convert parameter 2 from 'bool (__thiscall boost::re_detail::perl_matcher >,class boost::w32_regex_traits<unsigned short> >::*' to 'bool (__thiscall T::*)(v oid)' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\BOOST\boost/shared_ptr.hpp(246) : while compiling class-template member function 'bool __thiscall boost::re_detail::perl_matcher >,class boost::w3 2_regex_traits<unsigned short> >::protected_call(bool (__thiscall boost::re_detail::perl_matcher >,class boost::w32_regex_traits<unsigned short> >::*)' Error executing cl.exe. trwetst.exe - 8 error(s), 0 warning(s)
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.

Hughes, James wrote:
VC6 might be too early a compiler to support some of the stuff regex uses (i.e. its non-compliant for some template C++ features)....Does it work with a later compiler??
No it works just fine with VC6 onwards. I've never seen or heard of errors like that before, but nothing surprises me with that compiler. Oh wait, this is patched VC6 isn't it? Not some original unpatched install straight off the CD? There are all kinds of bugs fixed in the various service releases. Just thinking out loud, John.
participants (3)
-
Hughes, James
-
John Maddock
-
Thomas