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]

DEFAULT_PCC_STRUCT_RETURN redefinition warnings for NetBSD sparc


gcc/config/sparc/netbsd.h redefines DEFAULT_PCC_STRUCT_RETURN without
undefinig it first.



Sat Jun 13 19:35:28  Krister Walfridsson <cato@df.lth.se>

     * config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before 
     defining it.



*** gcc/config/sparc/netbsd.h.old       Fri Apr 10 20:06:43 1998
--- gcc/config/sparc/netbsd.h   Sat Jun 13 19:07:23 1998
***************
*** 37,42 ****
--- 37,43 ----
  
  /* Don't default to pcc-struct-return, because gcc is the only compiler, and
     we want to retain compatibility with older gcc versions.  */
+ #undef DEFAULT_PCC_STRUCT_RETURN
  #define DEFAULT_PCC_STRUCT_RETURN 0
  
  /* Until they use ELF or something that handles dwarf2 unwinds




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