Ticket #583: select_from_python_test.cpp.patch

File select_from_python_test.cpp.patch, 772 bytes (added by ccambly@…, 15 years ago)

Linker on LinuxPPC requires the definition of handle_execption_impl

  • libs/python/test/select_from_python_test.cpp

    old new  
    55#include <boost/python/type_id.hpp>
    66#include <iostream>
    77
    8 // gcc 2.95.x and MIPSpro 7.3.1.3 linker seem to demand this definition
     8// gcc 2.95.x, MIPSpro 7.3.1.3 and IBM XL for Linux linker seem to demand this definition
    99#if ((defined(__GNUC__) && __GNUC__ < 3)) \
    10  || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238))
     10 || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) \
     11 || (defined(__IBMCPP__) && defined(__linux__))
    1112namespace boost { namespace python {
    1213BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>)
    1314{