This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpp token_buffer not being NULL terminated causes fixproto bugs
- To: zack at wolery dot cumb dot org
- Subject: Re: cpp token_buffer not being NULL terminated causes fixproto bugs
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 30 Apr 2000 23:57:49 -0400 (EDT)
- Cc: egcs-patches at egcs dot cygnus dot com, jason at cygnus dot com
> From: Zack Weinberg <zack@wolery.cumb.org>
>
> SunOS 4 doesn't define STDC_0_IN_SYSTEM_HEADERS. Maybe it should.
> (Only Solaris 2.x uses that define at the moment, but several other
> platforms could benefit - see my other message last Friday.)
>
> Anyway, I took out that change and the other changes for glibc's
> getopt.h. Here's the patch I did commit:
On reflection, it seems to me that we *want* fixproto to work on the
STDC==0 clauses of system headers, on the presumption that the STDC==1
clauses are already prototyped. I think this was the original purpose
of the define, so I'm glad you left it in.
Thanks for working on this.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions