Re: I request inclusion of reiser4 in the mainline kernel

From: Alexandre Oliva
Date: Wed Sep 21 2005 - 03:17:35 EST


On Sep 20, 2005, Stephen Pollei <stephen.pollei@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/