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 compiler:

         >> Assertion:   (../links/dbg_cstabs.cc, 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
definition of BOOST_NO_INCLASS_MEMBER_INITIALIZATION in
boost\config\compiler\sunpro_cc.hpp and consequently I would propose to
continue setting this even for __SUNPRO_CC==0x530.

Cheers,
 
Gottfried Ganßauge