Launchpad has imported 2 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61476.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2014-06-11T13:13:29+00:00 Doko-v wrote: Is this something which can and should be addressed, or should be closed as won't fix? $ cat foo.c #include <errno.h> #include <stdio.h> int main() { fprintf(stderr, "error %d: %m\n", errno, errno); return 0; } $ gcc -Wall foo.c foo.c: In function 'main': foo.c:6:2: warning: too many arguments for format [-Wformat-extra-args] fprintf(stderr, "error %d: %m\n", errno, errno); ^ fprintf(3): m (Glibc extension.) Print output of strerror(errno). No argu‐ ment is required. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/619934/comments/5 ------------------------------------------------------------------------ On 2014-06-11T13:27:56+00:00 Andreas Schwab wrote: As documented, %m doesn't consume an argument. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc- defaults/+bug/619934/comments/6 ** Changed in: gcc Status: Unknown => Invalid ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/619934 Title: gcc fails to compile completely valid code with -Wall -Werror To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/619934/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
