------- Additional Comments From p dot obry at wanadoo dot fr  2005-03-19 14:52 
-------
I had a closer look.

In GCC 3.4.x we have TARGET_IS_PE_COFF. So changing _WIN32 by
TARGET_IS_PE_COFF is ok.

In GCC 4.x we have:

#define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1

So instead of using TARGET_IS_PE_COFF we can use 
TARGET_DLLIMPORT_DECL_ATTRIBUTES.

So I propose to keep the #ifdef as it is today and
use TARGET_IS_PE_COFF on 3.4 and TARGET_DLLIMPORT_DECL_ATTRIBUTES
on 4.0. Does this looks fine to you Danny ?

Pascal.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20515

Reply via email to