Boost logo

Boost Users :

From: Lothar May (boost_at_[hidden])
Date: 2008-02-26 11:34:40


Hi Daniel,

compiling boost is successful on my system, too. Are boost exceptions
caught using your build? Is your build universal?

> I missed the thread on this, but I'll help you out if I can--just
> bring me up to speed.

Sample test code is this:

--cut here--

#include <iostream>
#include <boost/filesystem.hpp>

using namespace std;
using namespace boost::filesystem;

int
main()
{
     try
     {
         directory_iterator i("does_not_exist");
     } catch(...)
     {
         cout << "This is never printed on MacOS 10.5." << endl;
     }
     return 0;
}

--cut here--

Best regards,

Lothar


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net