[C++-sig] Re: Sharing Global Singleton instances across boost.python extensions (windows & unix)
llywelyn.geo at yahoo.com
Thu Oct 16 19:37:48 CEST 2003
Hmmmm... thanks for the info and suggestions. I'll try some of the things you've suggested.
--- Niall Douglas <s_sourceforge at nedprod.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 10 Oct 2003 at 22:31, David Abrahams wrote:
> > > Thing is, if you're porting to and only to very recent versions of
> > > Linux there are very few non-obvious quirks nowadays.
> > Obviously you haven't been dealing with the same problems I've been
> > having in Boost.Python. There are definitely some very subtle things
> > going on with weak symbols and templates; see
> > http://www.boost.org/libs/python/doc/v2/May2002.html#shared
> I'd forgotten some of those which I too have had run-ins with. Why oh
> why can't they make all symbols hidden by default and only public
> with a modifier syntaxically identical to __declspec(dllexport) so we
> can reuse our Win32 idioms?
> It would require a small amount of complexity within G++ to do this,
> but the current method they have of you selecting each method
> individually is useless for Win32 compatibility :(
> -----BEGIN PGP SIGNATURE-----
> Version: idw's PGP-Frontend 184.108.40.206 / 9-2003 + PGP 8.0.2
> -----END PGP SIGNATURE-----
> C++-sig mailing list
> C++-sig at python.org
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
More information about the Cplusplus-sig