[Bug c/67956] gcc's printf attribute accepts %m as a format character

2016-02-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread christos at zoulas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #6 from Christos Zoulas --- great, thank you. since this is tracked already you can close it if you want.

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #5 from joseph at codesourcery dot com --- There has been some discussion recently of adding -Wformat-pedantic (see bug 67479), which would seem reasonable to me. A syslog format also seems reasonable (but we already have bug 15338

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread christos at zoulas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #4 from Christos Zoulas --- I believe that -pedantic enables other "pedantic" warnings which I don't belive I want. I can add a specific printf format that does not accept %m, but I would still need to add a syslog format that does (a

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #3 from joseph at codesourcery dot com --- The gnu_printf format attribute is specifically supposed to accept %m; you can use -pedantic to disallow it. Targets can override what the printf attribute maps to; see config/i386/msforma

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread christos at zoulas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #2 from Christos Zoulas --- something is wrong with the bug tracking system, when posting a bug with an attachment as the first post; this is how the dup got created.

[Bug c/67956] gcc's printf attribute accepts %m as a format character

2015-10-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956 --- Comment #1 from Andreas Schwab --- *** Bug 67957 has been marked as a duplicate of this bug. ***