-Wformat-security warnings generated in gcc build
Joseph S. Myers
joseph@codesourcery.com
Wed Jan 22 18:05:00 GMT 2014
On Wed, 22 Jan 2014, Prathamesh Kulkarni wrote:
> Unfortunately, I am not clear on how to check for format specifiers in string.
> Should I do it manually by checking the format string for specifiers
> and call abort if found a no-argument specifier,
> or is there a better way to do it ?
I'll leave it to Dodji as diagnostics maintainer to advise on the best way
to implement error_at_no_args.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list