[GCC-XML] gccxml and boost.shared_ptr

Brad King brad.king at kitware.com
Thu Jul 28 15:31:21 EDT 2005


Alexis H. Rivera-Rios wrote:
> can somebody explain me this error?  Here is the code.
[snip]
> But when I run Pyste (which calls gccxml) it
> complains:
> 
> C:/Boost/include/boost-1_32/boost/shared_ptr.hpp: In
> member function `T*
>    boost::shared_ptr<T>::operator->() const [with T =
> StatATA::Trajectory]':
> ../StatATA/entity.h:78:   instantiated from here
> C:/Boost/include/boost-1_32/boost/shared_ptr.hpp:253:
> error: invalid conversion
> 
>    from `void*' to `const char*'

I bet boost/current_function.hpp is selecting the wrong setting for 
BOOST_CURRENT_FUNCTION because it is not aware of __GCCXML__.

-Brad



More information about the gccxml mailing list