[Bug c/47781] New: warnings from custom printf format specifiers

2011-02-17 Thread mark-gcc at glines dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 Summary: warnings from custom printf format specifiers Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: una

[Bug c/47781] warnings from custom printf format specifiers

2011-02-17 Thread mark-gcc at glines dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #2 from Mark Glines 2011-02-17 11:58:22 UTC --- Created attachment 23380 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23380 47781.c Here's a rather silly test case that demonstrates the problem with a simple "bool" type. $ gc

[Bug c/47781] warnings from custom printf format specifiers

2011-02-17 Thread mark-gcc at glines dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781 --- Comment #3 from Mark Glines 2011-02-17 12:00:40 UTC --- (In reply to comment #1) > I think a patch that adds -Wno-format-unknown-specifier would be accepted if > properly submitted: Okay, I'll take a look at putting together a patch. Thanks