Most probably Peter,

is there some way how to get rid of this:
  CXX    ForkedCalls.o
  /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/tr1_impl/functional: In 
static member function 'static void 
boost::detail::function::void_function_obj_invoker2<FunctionObj, R, T0, 
T1>::invoke(boost::detail::function::function_buffer&, T0, T1) [with 
FunctionObj = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]':
  ../../boost/boost/function/function_template.hpp:913:   instantiated from 
'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = 
std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:722:   instantiated from 
'boost::function2<R, T1, T2>::function2(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:1064:   instantiated from 
'boost::function<R ()(T0, T1)>::function(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = pid_t, T1 = int]'
  ../../boost/boost/signals/slot.hpp:111:   instantiated from 
'boost::slot<SlotFunction>::slot(const F&) [with F = std::tr1::_Bind<void (* 
()(std::tr1::_Placeholder<1>, std::tr1::_Placeholder<2>))(pid_t, int)>, 
SlotFunction = boost::function<void ()(pid_t, int)>]'
  ForkedCalls.cpp:451:   instantiated from here
  /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/tr1_impl/functional:1226: 
warning: type qualifiers ignored on function return type
  ../../boost/boost/function/function_template.hpp:913:   instantiated from 
'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = 
std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:722:   instantiated from 
'boost::function2<R, T1, T2>::function2(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:1064:   instantiated from 
'boost::function<R ()(T0, T1)>::function(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = pid_t, T1 = int]'
  ../../boost/boost/signals/slot.hpp:111:   instantiated from 
'boost::slot<SlotFunction>::slot(const F&) [with F = std::tr1::_Bind<void (* 
()(std::tr1::_Placeholder<1>, std::tr1::_Placeholder<2>))(pid_t, int)>, 
SlotFunction = boost::function<void ()(pid_t, int)>]'
  ForkedCalls.cpp:451:   instantiated from here
  /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/tr1_impl/functional:1213: 
warning: type qualifiers ignored on function return type
  ../../boost/boost/function/function_template.hpp:913:   instantiated from 
'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = 
std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:722:   instantiated from 
'boost::function2<R, T1, T2>::function2(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]'
  ../../boost/boost/function/function_template.hpp:1064:   instantiated from 
'boost::function<R ()(T0, T1)>::function(Functor, typename 
boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with 
Functor = std::tr1::_Bind<void (* ()(std::tr1::_Placeholder<1>, 
std::tr1::_Placeholder<2>))(pid_t, int)>, R = void, T0 = pid_t, T1 = int]'
  ../../boost/boost/signals/slot.hpp:111:   instantiated from 
'boost::slot<SlotFunction>::slot(const F&) [with F = std::tr1::_Bind<void (* 
()(std::tr1::_Placeholder<1>, std::tr1::_Placeholder<2>))(pid_t, int)>, 
SlotFunction = boost::function<void ()(pid_t, int)>]'
  ForkedCalls.cpp:451:   instantiated from here
  /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4/tr1_impl/functional:1201: 
warning: type qualifiers ignored on function return type

pavel

Reply via email to