Re: [C++-sig] question on boost.python exception mechanisms

2013-04-17 Thread Niall Douglas
On 17 Apr 2013 at 17:13, Holger Joukl wrote: > // the global per-thread exception storage > boost::unordered_map exception_map; You can't assume pthread_t is of integral type. You can a thread_t (from C11) I believe. You may not care on your supported platforms though. > throw std::runtime

Re: [C++-sig] question on boost.python exception mechanisms

2013-04-17 Thread Holger Joukl
Hi, > From: "Niall Douglas" > On 10 Apr 2013 at 13:48, Holger Joukl wrote: > > > > If you don't have C++11 in your C++, Boost provides an okay partial > > > implementation of C++11 exception support. I'm currently using gcc 4.6.1 which supports the necessary features using -std=c++0x but also So

Re: [C++-sig] question on boost.python exception mechanisms

2013-04-17 Thread Holger Joukl
Hi, Giuseppe Corbelli wrote on 09.04.2013 09:09:14: > On 08/04/2013 14:11, Holger Joukl wrote: > >> I have found a couple of references. > >> http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html (see static-libgcc) > >> http://gcc.gnu.org/wiki/Visibility > > > > Thanks, I'll need to look into the