
The latest CVS version of the filesystem library is broken for the Borland compiler. It needs the same workaround already applied for MSVC and earlier: cvs diff -- boost\filesystem\path.hpp (in directory E:\sourceforge\devel\boost\) Index: boost/filesystem/path.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/filesystem/path.hpp,v retrieving revision 1.17 diff -r1.17 path.hpp 590c590,591 < # if !defined( BOOST_MSVC ) || BOOST_MSVC > 1300 // bypass VC++ 7.0 and earlier ---
// bypass VC++ 7.0 and earlier, and broken Borland compilers # if !BOOST_WORKAROUND( BOOST_MSVC, <= 1300 ) && !BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581) )
Note that the patch has been tested with the new compiler, as well as BCB6 in the online regression testing. I plan a more complete set of BCB2006 patches later this week, but will try to get BCB6 tests passing again first. There is a second problem in convenience.hpp, where system_message cannot be seen in the surrounding namespace. A quick and dirty fix would be: cvs diff -- boost\filesystem\convenience.hpp (in directory E:\sourceforge\devel\boost\) Index: boost/filesystem/convenience.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/filesystem/convenience.hpp,v retrieving revision 1.9 diff -r1.9 convenience.hpp 237a238,240
# if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x581)) using boost::BOOST_FILESYSTEM_NAMESPACE::system_message; #endif
-- AlisdairM