Re: WARNING: GCC 2.9.5 & Linux

Mathew G Monroe (mmex+@andrew.cmu.edu)
Sun, 1 Aug 1999 11:07:30 -0400 (EDT)


Excerpts from internet.computing.linux-kernel: 1-Aug-99 Re: WARNING: GCC
2.9.5 & Linux by Matthew Vanecek@unt.edu
>
> Will this problem be fixed with the Linux kernel to bring it into
> (closer) compliance with ANSI/ISO standards? IMHO, it can only be a
> good thing to have code which is (close to) 100% compliant with
> recognized and widely used standards.
>

Only a tiny fraction of all C programs are fully ANSI C compliant. Many
"hello world" programs are not. The linux kernel already is highly
compliant, but in many places "must" use impliementation defined
features of the compiler. The digital unix kernel is the same way, it
only compiles with the DEC cc compiler.
The issue involved in this case is not in fact the linux kernel not
being compiant. It is the fact the kernel needs to do something the
standard does not support. There was a long discussion on comp.std.c
about this in which Linus asked for a standard way of doing this get
added to C9x. YOu can read the archivies on www.deja.com.

Matt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/