From b25deb336654f6f5ef25526d24dec5fd84ad4dc1 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Wed, 9 Jul 2003 19:44:32 +0000 Subject: [PATCH] set BOOST_NO_INCLASS_MEMBER_INITIALIZATION to avoid compiler crash with Boost.Python [SVN r18999] --- include/boost/config/compiler/sunpro_cc.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index 08796b0a..3a3fdb91 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -31,6 +31,14 @@ # endif # if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG) + // Requesting debug info (-g) with Boost.Python results + // in an internal compiler error for "static const" + // initialized in-class. + // >> Assertion: (../links/dbg_cstabs.cc, line 611) + // while processing ../test.cpp at line 0. + // (Jens Maurer according to Gottfried Ganßauge 04 Mar 2002) +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION + // SunPro 5.3 has better support for partial specialization, // but breaks when compiling std::less > // (Jens Maurer 4 Nov 2001).