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: Warning for printf (foo) (was: Re: Patch to add __builtin_printf)


 > From: "Joseph S. Myers" <jsm28@cam.ac.uk>
 > 
 > This patch adds a warning - not conditional on -Wformat=2 - for
 > non-literal formats if there are no arguments for the format
 > (e.g. printf (foo)).  It also adds documentation and testcases, and
 > stops -Wall from overriding -Wformat=2.
 > 
 > C compiler bootstrapped and C testsuite run with no regressions on
 > i686-pc-linux-gnu.  (libio doesn't build for me with the current CVS tree
 > with glibc 2.1.94 installed.)  OK to commit?

Wow, thanks. :-)

--
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]