![]() | |||||||||||||
Messages in this thread |
On Sep 20, 2005, Stephen Pollei <stephen.pollei@gmail.com> wrote: > it takes gcc -Wall test_proto.c --std=c99 -pedantic-errors to cause it > not to create the a.out . > So gcc should have caused an error as I didn't set --std=gnu99 .. bad compiler. > So I don't know howto get gcc to follow the standards in this area, > that sounds like a good thing to require. gnu99 is the default. Also, the standard doesn't talk about errors or warnings, it only requires diagnostics for ill-formed code. Deciding what kind of diagnostic to issue is a compiler implementation decision. -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org} - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-09-21 10:19 [from the cache] ©2003-2008 | |||||||||||||