Boost logo

Boost Users :

From: David Daeschler (daveregs_at_[hidden])
Date: 2007-05-30 16:12:14


Hi Bobby,

> Admittedly that's the part I hate most about having to use gcc3 BUT
> there's the problem about throwing exceptions across dll boundaries.

The good news is that according to the MinGW mailing list, the
maintainers will soon be releasing their port of GCC 4.2 that deals with
that issue and many others. We use MinGW for the windows build of our
product, and as such I have been anxiously awaiting the upcoming
release.

On Wed, 2007-05-30 at 14:05 -0600, Bobby Ward wrote:
> Admittedly that's the part I hate most about having to use gcc3 BUT
> there's the problem about throwing exceptions across dll boundaries.
>
> >Exceptions cannot leave DLLs. This issue was fixed in the official
> MinGW releases with a local patch for the 3.4 series, but is not fixed
> in the main GCC sources. The problem only appears when a function in a
> DLL called from outside the DLL throws (or fails to catch) an
> exception, and results in program termination at that point.
>
> Seeing as all boost libraries are built as dlls(as far as I am aware)
> this proves problematic.
>
> On 5/30/07, Scott Meyers <usenet_at_[hidden]> wrote:
> Bobby Ward wrote:
> > I just realized you are using mingw gcc4. Mingw doesn't
> support gcc4
> > and you are generally advised to stay away from it for many
> reasons.
>
> I like the fact that it lets me play with gcc TR1 support.
>
> Scott
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
> --
> Bobby R. Ward
> ------------------------------
> bobbyrward_at_[hidden]
>
> http://www.bobbyrward.com
> http://combustion.sourceforge.net
> _______________________________________________
> 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