Re: [C++-sig] Dynamic Cast failed over multiple modules

2011-09-08 Thread Holger Brandsmeier
Mathieu, thank you very much. This is exactly what I was still missing. -Holger On Thu, Sep 8, 2011 at 12:00, Mathieu Malaterre wrote: > On Thu, Sep 8, 2011 at 11:56 AM, Holger Brandsmeier > wrote: > [...] >> CMAKE_SHARED_LINKER_FLAGS. About the RTLD_GLOBAL flag for dlopen, I >> don't know ho

Re: [C++-sig] Dynamic Cast failed over multiple modules

2011-09-08 Thread Mathieu Malaterre
On Thu, Sep 8, 2011 at 11:56 AM, Holger Brandsmeier wrote: [...] > CMAKE_SHARED_LINKER_FLAGS. About the RTLD_GLOBAL flag for dlopen, I > don't know how python handles this. > > Do you have any ideas how to solve this? Or is this simply not > possible with python? Here is what I use: if os.name =

[C++-sig] Dynamic Cast failed over multiple modules

2011-09-08 Thread Holger Brandsmeier
Dear List, when I use dynamic cast from two boost modules on a class with "vague linkage", in my real use case a template in the simplified example I show you a class which is declared inline, then the dynamic cast fails in the second module. So when I call the code from python from the first mod