[function] [stlport] typeinfo in stlport 5.1.5
Hello.
I'm using stlport-5.1.5 + mingw32 and trying to compile thread library
from boost-1.36.
The following error appears:
--------Compiler output--------
./boost/function/function_base.hpp:In static member function `static
void boost::detail::function::reference_manager<F>::get(const
boost::detail::function::function_buffer&,
boost::detail::function::function_buffer&,
boost::detail::function::functor_manager_operation_type)':
./boost/function/function_base.hpp:224: error: expected initializer
before '&' token
--------Compiler output--------
The context in function_base.hpp:
224: const BOOST_FUNCTION_STD_NS::type_info& check_type =
225: *static_cast
Gulevich Vasili Victorovich:
Is there an appropriate way to tell BOOST or stlport where type_info is?
The correct macro to test is BOOST_NO_STD_TYPEINFO: http://www.boost.org/doc/libs/1_36_0/libs/config/doc/html/boost_config/boost... BOOST_NO_STD_TYPEINFO Standard library The <typeinfo> header declares type_info in the global namespace instead of namespace std. I don't know whether it's defined properly on your configuration; can you check?
participants (2)
-
Gulevich Vasili Victorovich
-
Peter Dimov