"Ewan Brock" <[EMAIL PROTECTED]> writes: > Hello All, > > Has anyone had success in compiling boost using the Forte 7 compiler? > > When trying to compile a file even with a single include statement, > assertion errors occur: > > For example, compiling: > > #include "boost/graph/graph_traits.hpp" > > With compiler options: > > > /opt/SUNWspro/bin/CC -xarch=v9a -Kpic -mt -g -D_XOPEN_SOURCE=500 -D__EXTENSI > ONS__ -DMVE_DEBUG - > DMVE_SUN64 -DMVE_WFM -DMVE_SUN -DMVE_BOOST -DMVE_BOOST_VERSION=1290 -DM > VE_STD - > DMVE_SUN_F7 -I. -I/homes/perforce/utils_install/SUN64/boost-1_29_0-SUN64.DE > BUG.F7 -c main.cxx -o obj_files/SUN64.DEBUG.F7/main.o > > Gives the compiler output below: > > >> Assertion: (../lnk/init.cc, line 957) > while processing /homes/perforce/utils_install/SUN64/boost-1_29_0- > SUN64.DEBUG.F7/boost/type_traits/is_function.hpp at line 50. > > > 1. Is this occuring because I have the incorrect config > settings ?
No, it's occurring because the Sun compiler is badly broken. > If so, what should these settings be for Forte 7? > > 2. Is there anything else I need to do in order to get boost > to work? You might try getting the very latest compiler patches from Sun... ...however, if that doesn't fix your problem, someone needs to implement a bunch of workarounds in Boost to avoid these errors. -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost