Boost logo

Boost :

From: Andreas Pokorny (diemumiee_at_[hidden])
Date: 2004-04-25 17:14:09


Hi,

$ cat test.cpp
#include <stdexcept>
#include <iostream>
#include <boost/filesystem/path.hpp>

int main()
{
     try {
         boost::filesystem::path
p("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/");
     }
     catch( std::exception &e )
     {
         std::cout << e.what() << std::endl;
     }
     catch(...)
     {
         std::cout << "Unknown exception" << std::endl;
     }
}

$ g++ test.cpp -o test -lboost_filesystem
$ ./test
boost::filesystem::path: invalid name "g++-v3" in path:
"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/"

Is that supposed to happen?

Regards,

Andreas Pokorny


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk