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: SPARC config files cleanup 2/n


Ralf Corsepius wrote:
On Fri, 2005-01-21 at 08:34 -0600, Joel Sherrill wrote:


Index: gcc/config/rtems.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rtems.h,v
retrieving revision 1.6
diff -u -r1.6 rtems.h
--- gcc/config/rtems.h	5 Jul 2004 19:49:14 -0000	1.6
+++ gcc/config/rtems.h	21 Jan 2005 14:13:04 -0000
@@ -19,6 +19,7 @@
 Boston, MA 02111-1307, USA.  */

 /* The system headers under RTEMS are C++-aware.  */
+#undef NO_IMPLICIT_EXTERN_C
 #define NO_IMPLICIT_EXTERN_C

/*

Can you explain this patch? I don't understand why it is necessary.

I was seeing lots of redefinition warnings in one of the target builds. It may not be directly related to the sparc. I don't remember which target tripped the warning.

Ignore it if you like for now.  I will remove it locally once
the current build sweep is finished and figure out which
target required it and if it is still required.

--joel


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