Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Jérôme Laheurte
On 06/07/2011 09:59 AM, Lars Viklund wrote: On Tue, Jun 07, 2011 at 09:40:25AM +0200, Jérôme Laheurte wrote: Hello. I already asked this on StackOverflow but it doesn't seem to inspire many people. I managed to reduce my problem to a trivial extension module: On Windows XP SP3, if I build Bo

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Jérôme Laheurte
On 06/07/2011 09:59 AM, Lars Viklund wrote: On Tue, Jun 07, 2011 at 09:40:25AM +0200, Jérôme Laheurte wrote: Hello. I already asked this on StackOverflow but it doesn't seem to inspire many people. I managed to reduce my problem to a trivial extension module: On Windows XP SP3, if I build Bo

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Niall Douglas
Might this be a symbol visibility problem? Niall On 10 Jun 2011 at 14:16, Jérôme Laheurte wrote: > On 06/07/2011 09:59 AM, Lars Viklund wrote: > > > On Tue, Jun 07, 2011 at 09:40:25AM +0200, Jérôme Laheurte wrote: > >> Hello. I already asked this on StackOverflow but it doesn't seem to > >> in

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Jérôme Laheurte
On 06/10/2011 02:48 PM, Niall Douglas wrote: Might this be a symbol visibility problem? How can I check that ? I just tried #defining BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY in boost/python/detail/config.hpp and rebuilt the whole stuff but there's no difference. Thanks Jérôme Laheurte _

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Niall Douglas
On 10 Jun 2011 at 16:03, Jérôme Laheurte wrote: > > Might this be a symbol visibility problem? > > How can I check that ? I just tried #defining > BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY in boost/python/detail/config.hpp > and rebuilt the whole stuff but there's no difference. I have little exp

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Jérôme Laheurte
Le 10 juin 2011 à 17:00, Niall Douglas a écrit : > On 10 Jun 2011 at 16:03, Jérôme Laheurte wrote: > >>> Might this be a symbol visibility problem? >> >> How can I check that ? I just tried #defining >> BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY in boost/python/detail/config.hpp >> and rebuilt the

Re: [C++-sig] A very strange behaviour of Boost (Mingw, gcc 4.5)

2011-06-10 Thread Niall Douglas
> > Or you could stick with an older version of Mingw and wait till > > someone else fixes the problem. Or use MSVC. > > Not really an option; GCC 4 gave us a factor 3 performance improvement > over GCC 3, which we really need, and we're not really MSVC people. Ah that's a useful clue - I patche