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]

Re: i686 bootstrap problem


 > 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


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