Boost logo

Boost Testing :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-04-20 20:17:03


"Stephen W. Carson" <StephenC_at_[hidden]> wrote in message
news:4264267F.5050209_at_dirxion.com...

> Of the libraries that I'm particularly concerned about, two are still
> yellow...
>
> FILESYSTEM
> This library has two test cases failing:
> fstream_test
> ---------------------------------------------------
>
> mwcc -maxerrors 5 -warnings on -maxwarnings
> 20 -nowraplines -g -search -prefix MSLCarbonPrefix.h
> "/Applications/Metrowerks CodeWarrior 9.0/Metrowerks
> CodeWarrior/MSL/MSL_C/MSL_MacOS/Src/console_OS_X.c"
> "-L/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/cw-9_3-darwin/debug"
> -framework "Carbon" -o
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/test/fstream_test.test/cw-9_3-darwin/debug/fstream_test"
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/test/fstream_test.test/cw-9_3-darwin/debug/fstream_test.o"
> "/Users/stephencarson/Development/boost/results/bin/boost/libs/filesystem/build/libboost_filesystem.a/cw-9_3-darwin/debug/libboost_filesystem-cw93-d-1_32.a"
> Error : undefined: 'std::ctype<int>::ctype(unsigned long)' (code)
> Referenced from 'const std::ctype<int>&
> std::__use_facet<std::ctype<int> >(const std::locale&,
> std::__chooser<(__bool8)1>)' in fstream_test.cpp
> Error : undefined: 'std::ctype<int>::id' (non lazy ptr IL)
> Referenced from 'const std::ctype<int>&
> std::__use_facet<std::ctype<int> >(const std::locale&,
> std::__chooser<(__bool8)1>)' in fstream_test.cpp
> Error : undefined: 'std::codecvt<int, char, int>::codecvt(unsigned
> long)' (code)
> Referenced from 'const std::codecvt<int, char, int>&
> std::__use_facet<std::codecvt<int, char, int> >(const std::locale&,
> std::__chooser<(__bool8)1>)' in fstream_test.cpp
> Error : undefined: 'std::codecvt<int, char, int>::id' (non lazy ptr IL)
> Referenced from 'const std::codecvt<int, char, int>&
> std::__use_facet<std::codecvt<int, char, int> >(const std::locale&,
> std::__chooser<(__bool8)1>)' in fstream_test.cpp
>
> Errors caused tool to abort.
> Error : linker '/usr/bin/mwld' returned with exit code 1
>
> Errors caused tool to abort.

That seems like a setup or Metrowerks problem, rather than a problem with
the Filesystem library itself.

>
> ---------------------------------------------------
>
>
> operations_test
> ---------------------------------------------------
>
> Platform is POSIX
> minimal.hpp(122): exception "std::exception:
> boost::filesystem::current_path: "": No error detected" caught in
> function: 'main(int, char **)'

That one is going to be hard to troubleshoot without running it under a
debugger, and trapping the exception at its source.

--Beman


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