Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Filesystem V3 workaround for non-conforming compilers
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-06-22 14:23:53


Hi Beman,

On Jun 22, 2010, at 5:09 AM, Beman Dawes wrote:

> Filesystem V3 has some code that fails (and thus breaks regression
> testing) for a few compilers (IBM, old GCC, perhaps more) that have
> trouble with partial ordering. I've committed (changeset 63226) a
> disable_if based workaround.

Would this have broken the v2 code? Darinw seems to be malfunctioning.

darwin.compile.c++ /Volumes/Scratch/kbelco/boost/boost/bin.v2/libs/
filesystem/build/darwin-4.0.1/release/link-static/v2/src/v2_path.o

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

/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/
v2_path.cpp: In static member function 'static std::string
boost::filesystem2::wpath_traits::to_external(const
boost::filesystem2::wpath&, const std::wstring&)':
/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/v2_path.cpp:
149: error: 'boost::system::posix' has not been declared
/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/v2_path.cpp:
149: error: 'invalid_argument' was not declared in this scope
/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/
v2_path.cpp: In static member function 'static std::wstring
boost::filesystem2::wpath_traits::to_internal(const std::string&)':
/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/v2_path.cpp:
168: error: 'boost::system::posix' has not been declared
/Volumes/Scratch/kbelco/boost/boost/libs/filesystem/v2/src/v2_path.cpp:
168: error: 'invalid_argument' was not declared in this scope
...failed darwin.compile.c++ /Volumes/Scratch/kbelco/boost/boost/
bin.v2/libs/filesystem/build/darwin-4.0.1/release/link-static/v2/src/
v2_path.o...

darwin.compile.c++ /Volumes/Scratch/kbelco/boost/boost/bin.v2/libs/
filesystem/build/darwin-4.0.1/release/link-static/v2/src/
v2_portability.o

-- Noel


Boost-testing list run by mbergal at meta-comm.com