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: RFA/RFC: Add support for exporting vtables based on dllexport/dllimport attributes


Nick Clifton <nickc@redhat.com> writes:

>   The code was actually developed by Red Hat for Symbian who have been
>   using it successfully for a little while now.  I realise that the
>   patch is adding a #ifdef controlled conditional piece of code to the
>   generic decl2.c file, but I could not think of a clean way for a
>   particular back end (or set of backends) to otherwise intercept the
>   class exporting code and add the necessary attributes.

It seems that you could at least make it a target hook rather than
using #ifdef.  But I say this without really understanding what the
patch does.

Ian


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