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]

[PATCH] 4.0: config/rs6000/sysv4.h (NO_IMPLICIT_EXTERN_C)


Due to

2004-12-07  Eric Christopher  <echristo@redhat.com>

        PR target/16317
        * config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define.

when building powerpc--netbsd, this results in:

In file included from tm.h:11,
                 from /u1/toolchain/gcc/gcc/genmddeps.c:21:
/u1/toolchain/gcc/gcc/config/rs6000/sysv4.h:24:1: warning: "NO_IMPLICIT_EXTERN_C
" redefined
In file included from tm.h:8,
                 from /u1/toolchain/gcc/gcc/genmddeps.c:21:
/u1/toolchain/gcc/gcc/config/netbsd.h:172:1: warning: this is the location of th
e previous definition


2005-04-11	Matt Thomas <matt@3am-software.com>

	* config/rs6000/sysv4.h (NO_IMPLICIT_EXTERN_C): undefine before
			defining.

Index: gcc/config/rs6000/sysv4.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/sysv4.h,v
retrieving revision 1.158
diff -c -3 -p -r1.158 sysv4.h
*** gcc/config/rs6000/sysv4.h	15 Feb 2005 15:53:52 -0000	1.158
--- gcc/config/rs6000/sysv4.h	12 Apr 2005 03:54:51 -0000
***************
*** 21,26 ****
--- 21,27 ----
     MA 02111-1307, USA.  */

  /* Header files should be C++ aware in general.  */
+ #undef  NO_IMPLICIT_EXTERN_C
  #define NO_IMPLICIT_EXTERN_C

  /* Yes!  We are ELF.  */


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