This is an example C program that exhibits the problem. This program will build with gcc just fine and without warnings if no additional flags are specified, but if -Wall is specified it will warn about the line containing the call to printf. That also means that if -Werror is specified that this program, even though it is valid C with GNU extensions, will not build (even if -std=gnu99 is specified on the command line).
** Attachment added: "C source code showing the problem" https://bugs.edge.launchpad.net/ubuntu/+source/gcc-defaults/+bug/619934/+attachment/1498043/+files/fail.c -- gcc fails to compile completely valid code with -Wall -Werror https://bugs.launchpad.net/bugs/619934 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs