This is the mail archive of the gcc@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]

C++ typeinfo and vtables vs. DECL_CONTEXT.


    Hi,

  This may be a bit of a noob question, but why does the var_decl for a class'
vtable have a DECL_CONTEXT referring to the owning record_type, but the
var_decl for its typeinfo doesn't?

  (On i386/PE, this leads to typeinfo not being dllexported.)

    cheers,
      DaveK


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