[C++-sig] Cross-module inheritance

Eric Jardim ericjardim at gmail.com
Mon Aug 22 15:13:15 CEST 2005


2005/8/22, David Abrahams <dave at boost-consulting.com>:
> 
> Now that I look, I'm afraid not.



A separate one from both the extension modules? Are both extension
> modules linked to that shared library?


Sure. It is the Qt library. 

No.


Hmm, now I am confused.

Yes, that's part of why you put the base class in a common shared
> library. Both extension modules need to see its RTTI information.
> 
If that doesn't work for you, have a look at this thread:
> http://gcc.gnu.org/ml/gcc/2002-05/msg01970.html


Well, Qt libraries are seen by all modules. The modules itself that don't 
see each other. 

This is a pretty murky area for the Gnu loader, unfortunately.
> 

Well, if it is only a g++ problem on the Gnu system, I can use the 
"setdlopenflags" workaround. I just have not tested on other systems like 
Windows. Looks like that it will work there.

[Eric Jardim]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20050822/692e8b90/attachment.htm>


More information about the Cplusplus-sig mailing list