Boost logo

Boost Users :

From: Daniel Lord (daniel_at_[hidden])
Date: 2008-02-28 12:47:48


It worked fine for me:
[09:46:50] daniello_at_Mercury~/Documents/Development/Study/Xcode-Boost/BoostExceptionTest
$uname -a
Darwin dhcp-2op9-2op10-east-130-35-99-215.usdhcp.oraclecorp.com 9.2.0 Darwin
Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; root:
xnu-1228.3.13~1/RELEASE_I386 i386
[09:46:57] daniello_at_Mercury~/Documents/Development/Study/Xcode-Boost/BoostExceptionTest
$./BoostExceptionTest /fake
This is never printed on MacOS 10.5.

On 2/26/08, Lothar May <boost_at_[hidden]> wrote:
>
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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