This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]