Ticket #8888: boost-1.54.0-python-unused_typedef.patch

File boost-1.54.0-python-unused_typedef.patch, 688 bytes (added by Petr Machata <pmachata@…>, 9 years ago)

A fix.

  • boost_1_53_0/boost/python/to_python_value.hpp

    diff -up boost_1_53_0/boost/python/to_python_value.hpp\~ boost_1_53_0/boost/python/to_python_value.hpp
    old new namespace detail  
    147147  template <class T>
    148148  inline PyObject* registry_to_python_value<T>::operator()(argument_type x) const
    149149  {
    150       typedef converter::registered<argument_type> r;
    151150# if BOOST_WORKAROUND(__GNUC__, < 3)
     151      typedef converter::registered<argument_type> r;
    152152      // suppresses an ICE, somehow
    153153      (void)r::converters;
    154154# endif