This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: "format not a string literal"
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: "format not a string literal"
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 14 Oct 1999 11:55:11 -0600
- cc: drepper at cygnus dot com, aj at suse dot de, egcs-patches at egcs dot cygnus dot com, gcc-bugs at sourceware dot cygnus dot com, raeburn at raeburn dot org
- Reply-To: law at cygnus dot com
In message <199910141402.KAA21437@caip.rutgers.edu>you write:
> Perhaps we leave off this behavior when invoked through -Wall but turn
> it on when invoked through -Wformat? I.e. we could set the variable
> `warn_format' to either 1 or 2 like we do for other warnings and test
> for == 2 before showing the "not a string literal" message.
That would be fine with me.
jeff