This is the mail archive of the gcc@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: IMPLICIT_EXTERN_C failure due to cpplib patch


David Edelsohn wrote:-

> 	The cpplib patch has broken IMPLICIT_EXTERN_C support which has
> broken bootstrap on AIX.  With the cpplib patch, some functions now are
> being mangled, causing unresolved references. 

David, can you try this please?

Neil.

Index: c-incpath.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-incpath.c,v
retrieving revision 1.2
diff -u -p -r1.2 c-incpath.c
--- c-incpath.c	2 Mar 2003 17:44:17 -0000	1.2
+++ c-incpath.c	2 Mar 2003 22:01:37 -0000
@@ -309,7 +309,7 @@ add_path (path, chain, cxx_aware)
   p->next = NULL;
   p->name = path;
   if (chain == SYSTEM || chain == AFTER)
-    p->sysp = 1 + (cxx_aware != 0);
+    p->sysp = 1 + !cxx_aware;
   else
     p->sysp = 0;


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