This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: New bug in cpp, bogus macro redefinition warnings
- To: grahams at rcp dot co dot uk, zack at wolery dot cumb dot org
- Subject: Re: New bug in cpp, bogus macro redefinition warnings
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 2 Mar 2000 12:53:36 -0500 (EST)
- Cc: egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
> From: Zack Weinberg <zack@wolery.cumb.org>
>
> > Aha - that's it. Normally, y'see, there isn't a space before the
> > beginning of the buffer, so it stops.
> >
> > Please try the appended patch.
>
> Damn. I should at least run through stage1 before posting patches.
>
> Try *this* one.
>
> Index: cpphash.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/cpphash.c,v
I tested this patch against this morning's CVS on solaris2.7. It
bootstraps and the 1200 macro redef warnings go away.
Thanks for fixing it. :-)
BTW, how are you doing on the implicit extern "C" problem?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions