Boost logo

Boost :

From: Steve Clamage (Stephen.Clamage_at_[hidden])
Date: 2005-07-10 09:17:23

Beman Dawes wrote:
> "Steve Clamage" <Stephen.Clamage_at_[hidden]> wrote in message
>>The macro BOOST_NO_IS_ABSTRACT should be defined.
>>Also, be sure you are using the option -library=stlport4 on every CC
>>line. The configuration files for Sun should set up that option already.
> Hum... The command line for a failing filesystem compile was:
> /opt/sunstudio10u1/SUNWspro/bin/CC -c -g -xtarget=generic
> +d -features=rtti -features=except -I"/tmp/dgregor/BoostRegressionTesting/results/bin/boost/libs/filesystem/build"
> -I"/tmp/dgregor/BoostRegressionTesting/boost" -I"/usr/include" -I"/tmp/dgregor/BoostRegressionTesting/boost"
> -o
> "/tmp/dgregor/BoostRegressionTesting/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/sunpro-5_8u1-sunos/debug/exception.o"
> "/tmp/dgregor/BoostRegressionTesting/boost/libs/filesystem/build/../src/exception.cpp"
> So it looks like we need to add -library=stlport4 to the jamfile.

Yes. And other things are wrong with the command line. You should remove
all of the following:
     +d -features=rtti -features=except -I"/usr/include"
The two -features options are the defaults, and have no effect.
The +d disables function inlining, which -g already does. (The -g
compiles the program for debugging.)
The -I/usr/include can prevent programs from compiling or working as

Steve Clamage, stephen.clamage_at_[hidden]

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