[C++-sig] Re: Sharing Global Singleton instances across boost.python extensions (windows & unix)

Joel Gerard 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. 

Thanks again. 

Joel
--- 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 :(
> 
> Cheers,
> Niall
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2
> 
> iQA/AwUBP4eAfcEcvDLFGKbPEQKROQCg+IfzxPwEThggM3mLmJgZAv3nYRsAn25r
> qlciEZFNYPILkJRbzo+kbBYP
> =gFef
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig


=====


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com




More information about the Cplusplus-sig mailing list