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]
Other format: [Raw text]

Re: config patch to turn off -Wformat for systems that include it in -Wall


On Fri, 26 Mar 2010, Paolo Bonzini wrote:

> On 03/25/2010 07:55 PM, Mike Stump wrote:
> > This patch tuns off -Wformat for systems that include it in -Wall.
> > Apple's gcc would be one such system.  On other systems, this
> > shouldn't have any effect.  I originally wanted to put this into
> > config/mh-darwin, but those flags come before -Wall on the command
> > line and hence can't effect it.
> > 
> > Ok?
> 
> Ok for 4.5.

No, the patch is definitely wrong.  We wouldn't have the support for 
checking GCC-specific formats if we didn't want -Wformat enabled when 
building GCC.

-- 
Joseph S. Myers
joseph@codesourcery.com


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