This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67956] gcc's printf attribute accepts %m as a format character
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Oct 2015 17:26:17 +0000
- Subject: [Bug c/67956] gcc's printf attribute accepts %m as a format character
- Auto-submitted: auto-generated
- References: <bug-67956-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67956
--- Comment #5 from joseph at codesourcery dot com <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 tracking that idea). A
special-case option for only this single case of non-portable formats
seems more dubious to me.