|
Re: boost.python compilation with STLport-4.5.3: msg#00166python.c++
"Vincent Rey" <v.rey@xxxxxxxxxxx> writes: > Boost.Python compiles very well with VC7 stl, but not with STLport-4.5.3. > Already using STLport for other parts of my application, I would like to > compile with it. > > It makes about 200 errors, but all related with 'type_info' : > boost_1_30_0\boost\python\detail\msvc_typeinfo.hpp(23) : error C2039: > 'type_info' : is not a member of '_STL' > > > > I guess it's a problem of configuration of boost (version 1_30_0)... but I > didn't find anything, nor in stlport forum. It's a problem with your use of STLPort, IIUC. I think you're trying to use the native iostreams instead of the STLPort iostreams. These lines in STLPort's <typeinfo.h> should be bringing the misplaced ::typeinfo into namespace _STL, unless you are using a configuration which doesn't put the stlport components into "std::" (i.e. _STL): # if defined (_STLP_USE_OWN_NAMESPACE) && ! (defined (_STLP_TYPEINFO) && !defined(_STLP_NO_NEW_NEW_HEADER)) _STLP_BEGIN_NAMESPACE using /*_STLP_VENDOR_EXCEPT_STD */ :: type_info; # if !(defined(__MRC__) || defined(__SC__)) using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_typeid; # endif using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_cast; _STLP_END_NAMESPACE #endif /* _STLP_OWN_NAMESPACE */ I don't think I'm going to support any such configurations unless someone can show me that I'm mistaken and STLPort is just failing to put ::type_info into std:: erroneously. -- Dave Abrahams Boost Consulting www.boost-consulting.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: method_call_expr not supported by dump_expr: 00166, David Abrahams |
|---|---|
| Next by Date: | Re: Re: Mac OS 10 & type_with_alignment.hpp: 00166, Ralf W. Grosse-Kunstleve |
| Previous by Thread: | boost.python compilation with STLport-4.5.3i: 00166, Vincent Rey |
| Next by Thread: | Re: boost.python compilation with STLport-4.5.3: 00166, Vincent Rey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |