Boost logo

Boost :

From: Gottfried.Ganssauge_at_[hidden]
Date: 2002-01-17 07:22:31

Consider the following test program:

         * test program designed to tickle a compiler assertion within
         * SunPRO-CC-5.3 when generating debug information
         * Compile using
         * CC -g -c -Iboost -I<python include dir> test.cpp
        #include <boost/python/module_builder.hpp>
        void tester(boost::python::module_builder &) {}

when I compile this using boost-1.26 I get the following error from the

>> Assertion: (../links/, line 611)
            while processing ../test.cpp at line 0.

when compiling with boost-1.25.0 this error doesn't happen.
Remarkably this also doesn't happen when not compiling in debug mode (-g).

The compiler identifies itself as
        CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-04 2001/12/13

The only difference that I could spot with regard to this problem was the
boost\config\compiler\sunpro_cc.hpp and consequently I would propose to
continue setting this even for __SUNPRO_CC==0x530.

Gottfried Ganßauge

Boost list run by bdawes at, gregod at, cpdaniel at, john at