2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00

Apply Martin's KCC bug workaround

[SVN r14062]
This commit is contained in:
Dave Abrahams
2002-05-29 21:24:25 +00:00
parent 23bfb84e38
commit fedf8d9935
2 changed files with 9 additions and 0 deletions

View File

@@ -7,6 +7,11 @@
#include <boost/python/module.hpp>
#include "test_class.hpp"
#if defined(_AIX) && defined(__EDG_VERSION__) && __EDG_VERSION__ < 245
# include <iostream> // works around a KCC intermediate code generation bug
#endif
using namespace boost::python;
typedef test_class<> X;

View File

@@ -5,6 +5,10 @@
// to its suitability for any purpose.
#include <boost/python/module.hpp>
#if defined(_AIX) && defined(__EDG_VERSION__) && __EDG_VERSION__ < 245
# include <iostream> // works around a KCC intermediate code generation bug
#endif
BOOST_PYTHON_MODULE_INIT(minimal_ext)
{
boost::python::module m("minimal_ext");