Begin forwarded message:

From: "K. Noel Belcourt" <kbelco@sandia.gov>
Date: July 5, 2008 9:14:19 AM MDT
To: "boost-testing@lists.boost.org regression tests" <boost-testing@lists.boost.org>
Subject: [Boost-testing] [Boost] process jam log error on Sun
Reply-To: Running Boost regression tests <boost-testing@lists.boost.org>

Hi Beman,

operations.cpp no longer compiles on the Sun.  Here's the error.

     "/opt/Studio12/SUNWspro/bin/CC" -library=stlport4 -
features=tmplife -features=tmplrefstatic -fast -m32 -
DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_S
YSTEM_STATIC_LINK=1 -DNDEBUG -I"/scratch2/kbelco/boost/boost" -c -o "/
scratch2/kbelco/boost/boost/bin.v2/libs/filesystem/build/sun-5.9/
release/address-model-32/lin
k-static/operations.o" "/scratch2/kbelco/boost/boost/libs/filesystem/
src/operations.cpp"

CC: Warning: -xarch=native has been explicitly specified, or
implicitly specified by a macro option, -xarch=native on this
architecture implies -xarch=sparcvis2 wh
ich generates code that does not run on pre UltraSPARC III processors
"/scratch2/kbelco/boost/boost/libs/filesystem/src/operations.cpp",
line 592: Error: "::posix_remove(const char*)" is expected to return
a value.
1 Error(s) detected.

Turns out this is also a problem on darwin under intel-10.0 and intel-10.1.

"/usr/bin/g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -no-cpp-precomp -gdwarf-2 -Wno-long-double  -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG  -I"/private/tmp/kbelco/boost/boost" -c -o "/private/tmp/kbelco/boost/boost/bin.v2/libs/filesystem/build/darwin-4.0.1/release/link-static/operations.o" "/private/tmp/kbelco/boost/boost/libs/filesystem/src/operations.cpp"

/private/tmp/kbelco/boost/boost/libs/filesystem/src/operations.cpp: In function 'int<unnamed>::posix_remove(const char*)':
/private/tmp/kbelco/boost/boost/libs/filesystem/src/operations.cpp:592: warning: no return statement in function returning non-void
/private/tmp/kbelco/boost/boost/libs/filesystem/src/operations.cpp:592: warning: control reaches end of non-void function

-- Noel