Skip to content

Commit fedf8d9

Browse files
committed
Apply Martin's KCC bug workaround
[SVN r14062]
1 parent 23bfb84 commit fedf8d9

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

test/data_members.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#include <boost/python/module.hpp>
88
#include "test_class.hpp"
99

10+
#if defined(_AIX) && defined(__EDG_VERSION__) && __EDG_VERSION__ < 245
11+
# include <iostream> // works around a KCC intermediate code generation bug
12+
#endif
13+
14+
1015
using namespace boost::python;
1116

1217
typedef test_class<> X;

test/minimal.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// to its suitability for any purpose.
66
#include <boost/python/module.hpp>
77

8+
#if defined(_AIX) && defined(__EDG_VERSION__) && __EDG_VERSION__ < 245
9+
# include <iostream> // works around a KCC intermediate code generation bug
10+
#endif
11+
812
BOOST_PYTHON_MODULE_INIT(minimal_ext)
913
{
1014
boost::python::module m("minimal_ext");

0 commit comments

Comments
 (0)