This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch} Fix dynamic casts across dll boundaries on windows targets


Danny Smith wrote:

> 2004-10-16  Danny Smith  <dannysmith@users.sourceforge.net>
> 
> 	* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define
> 	__GXX_MERGED_TYPEINFO_NAMES to 0.

Does this pessimize the case where typeinfo symbols really are
availible?  An example might be when a DLL exports the typeinfo symbols
and they are linkable with auto-import.  (Will auto-import work for
this, anyway?)

Another source for experience in this area is the recent ELF visibility
work.  For example, see the secton Caveats in
<http://www.nedprod.com/programs/gccvisibility.html>.  The suggestion
here is that if you want RTTI to work, you must take necessary steps to
export typeinfo symbols.  Is a similar approach for PE unreasonable?

Aaron W. LaFramboise


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]