[C++-sig] BPL v2 and Exceptions
David Abrahams
dave at boost-consulting.com
Wed Oct 16 04:38:15 CEST 2002
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> Here is another thing to try:
>
> import sys
> if (sys.platform == "linux2"):
> if (hasattr(sys, "setdlopenflags")):
> sys.setdlopenflags(0x100|0x2)
>
> I put this in all my __init__.py files (all my extensions are in packages, so
> this is a very easy fix for me).
>
> This assumes that dlopen()'ing with RTLD_GLOBAL (try man dlopen) does not lead
> to name clashes in your environment.
>
> See also:
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6629
I don't think that's an appropriate or neccessary fix in Greg's
case. IMO, this is a different sort of problem we're seeing, since it
works fine from within bjam...
--
David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list