$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Hughes, James (jhughes_at_[hidden])
Date: 2006-09-01 03:24:33
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_at_[hidden] 
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Thomas
> Sent: 31 August 2006 15:19
> To: boost-users_at_[hidden]
> 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
> 
> --------------------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<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::re gex_traits<char,class boost::w32_regex_traits<char> 
> > >  >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::regex_traits<char,class
>   boost::w32_regex_traits<char> > > >(class 
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::regex_traits<char,class boost::w32_regex_traits<char> 
> > > *,bool (__thiscall T::*)(void ))' : cannot convert 
> parameter 2 from 'bool (__thiscall 
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::regex_traits<char,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<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::regex_traits<char,cla ss boost::w32_regex_traits<char> 
> > >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::regex_traits<char,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<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::cpp _regex_traits<char> > 
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::cpp_regex_traits<char> >  >(class 
> boost::re_detail::perl_ma tcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::cpp_regex_traits<char> > *,bool (__thiscall 
> T::*)(void))' : cannot convert parameter 2 from 'bool 
> (__thiscall boost::re_detail::perl_matcher<char const *,cl 
> ass std::allocator<struct boost::sub_match<char const *> 
> >,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<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::cpp_regex_traits<char>
>   >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<char
> const *,class std::allocator<struct boost::sub_match<char 
> const *>  >,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<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::c_ regex_traits<char> > 
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::c_regex_traits<char> >  >(class 
> boost::re_detail::perl_matc her<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::c_regex_traits<char> > *,bool (__thiscall 
> T::*)(void))' : cannot convert parameter 2 from 'bool 
> (__thiscall boost::re_detail::perl_matcher<char const *,class
>   std::allocator<struct boost::sub_match<char const *> 
> >,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<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,struct 
> boost::c_regex_traits<char>  >::protected_call(bool 
> (__thiscall boost::re_detail::perl_matcher<char
> const *,class std::allocator<struct boost::sub_match<char 
> const *>  >,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::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::w32 _regex_traits<char> > 
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::w32_regex_traits<char> >  >(class 
> boost::re_detail::perl_ma tcher<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::w32_regex_traits<char> > *,bool (__thiscall 
> T::*)(void))' : cannot convert parameter 2 from 'bool 
> (__thiscall boost::re_detail::perl_matcher<char const *,cl 
> ass std::allocator<struct boost::sub_match<char const *> 
> >,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<char const *,class 
> std::allocator<struct boost::sub_match<char const *> >,class 
> boost::w32_regex_traits<char>
>   >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<char
> const *,class std::allocator<struct boost::sub_match<char 
> const *>  >,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<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const * 
>  > >,struct boost::regex_traits<unsigned short,class 
> boost::w32_regex_traits<unsigned short> > >  
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<uns igned short const 
> *> >,struct boost::regex_traits<unsigned short,class 
> boost::w32_regex_traits<unsigned short> > > >(class 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,s truct boost::regex_traits<unsigned short,class 
> boost::w32_regex_traits<unsigned short> > > *,bool 
> (__thiscall T::*)(void))' : cannot convert parameter 2 from 
> 'bool (__thiscall boost::re_detail::perl_matcher<unsigned 
> short const *,class std::allocato r<struct 
> boost::sub_match<unsigned short const *> >,struct 
> boost::regex_traits<unsigned short,class 
> boost::w32_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<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,struct boost::r egex_traits<unsigned short,class 
> boost::w32_regex_traits<unsigned short>  > 
> >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,struct
> boost::
> regex_traits<unsigned short,class boost::w32_regex_traits<unsigned 
> short> > >::*)'
> C:\BOOST\boost/regex/v4/perl_matcher_common.hpp(129) : error C2664: 
> '__thiscall boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const * 
>  > >,class boost::cpp_regex_traits<unsigned short> >  
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,class boost::cpp_rege x_traits<unsigned short> > >(class 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,class boost::cpp_regex_traits<unsigned short> > *,bool 
> (__thiscall T::*)(void))' : cannot
>   convert parameter 2 from 'bool (__thiscall 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,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<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,class boost::cp p_regex_traits<unsigned short> 
> >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,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<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const * 
>  > >,struct boost::c_regex_traits<unsigned short> >  
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,struct boost::c_regex_ traits<unsigned short> > >(class 
> boost::re_detail::perl_matcher<unsigned
> short const *,class std::allocator<struct 
> boost::sub_match<unsigned short const *> >,struct 
> boost::c_regex_traits<unsigned short> > *,bool (__thiscall 
> T::*)(void))' : cannot co nvert parameter 2 from 'bool 
> (__thiscall boost::re_detail::perl_matcher<unsigned short 
> const *,class std::allocator<struct boost::sub_match<unsigned 
> short const *> >,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<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,struct boost::c _regex_traits<unsigned short> 
> >::protected_call(bool (__thiscall 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,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<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const * 
>  > >,class boost::w32_regex_traits<unsigned short> >  
> >::boost::re_detail::concrete_protected_call<class
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,class boost::w32_rege x_traits<unsigned short> > >(class 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,class boost::w32_regex_traits<unsigned short> > *,bool 
> (__thiscall T::*)(void))' : cannot
>   convert parameter 2 from 'bool (__thiscall 
> boost::re_detail::perl_matcher<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const 
> *> >,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<unsigned short const *,class 
> std::allocator<struct boost::sub_match<unsigned short const *> >,class
> boost::w3
> 2_regex_traits<unsigned short> >::protected_call(bool 
> (__thiscall boost::re_detail::perl_matcher<unsigned short 
> const *,class std::allocator<struct boost::sub_match<unsigned 
> short const *> >,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_at_[hidden]
> http://listarchives.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.