Boost logo

Boost Users :

From: Lothar May (boost_at_[hidden])
Date: 2008-02-20 18:31:39


Hi,

I've brought this up before, but I still have no solution for this
issue, so I will give it another try:

Does anyone have boost 1.34.1 compiled on MacOS 10.5 where exceptions
can be caught? You might use the following code to test:

--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--

If this works with your installation of boost on MacOS 10.5, please tell
me which steps you did to compile boost, and whether you used the static
or dynamic version.

A related question is: Is boost "supposed to work" on MacOS 10.5?

Thanks,

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