This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i686 bootstrap problem
- To: gdr at codesourcery dot com
- Subject: Re: i686 bootstrap problem
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 13 Apr 2001 16:06:30 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org, jsm28 at cam dot ac dot uk, rth at redhat dot com
> From: Gabriel Dos Reis <gdr@codesourcery.com>
>
> "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
>
> | > Indeed. It would be a good thing if we could mark clarly which parts
> | > of GCC should be written in K&R C and which could use GCC features and
> | > supply appropriate flags in makefiles.
> | > -- Gaby
> |
> | AFAIK, -Wtraditional is used exactly this way to double check those
> | parts (and only those parts) that must use K&R.
>
> But that doesn't address my concern: an explicit list of which parts
> are not required to use K&R C. I can't find anything to that effect
> in documentations. Are you saying that is an unpsoken rule?
> -- Gaby
Yes. Look at STRICT_WARN in gcc/Makefile.in, its documented there.
We also use -pedantic in stage>=2 in a similar way.
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions