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: mingw/cygwin] Handle export of MI thunks from windows dll's


 --- Jason Merrill <jason@redhat.com> wrote: > Rather than remove the check for DECL_ARTIFICIAL,
you should be able to add
> a check for DECL_THUNK_P to handle thunks.  We still don't want
> import/export to affect synthesized copy ctors et al.
> 
> Jason 

I was going to, but that would mean including cp/cp-tree.h.  I didn't think
inclusion of language-specific files or using a language-specific flag
was a good thing to do. (No other targets seem to.)

What is problem with _exporting_ synthesized copy ctors from shared library?  They get
exposed when put in static  library.  They can be excluded from dllimport  by
checking for DECL_ARTIFICIAL in i386_pe_dllimport_p.

Danny

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.


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