Re: [PATCH] C undefined behavior fix

Fergus Henderson (fjh@cs.mu.oz.au)
Wed, 9 Jan 2002 20:28:21 +1100


On 03-Jan-2002, Paul Mackerras <paulus@samba.org> wrote:
> "Conforming" means that the program will run the same on any architecture

In ANSI/ISO C and C++, "strictly conforming" means basically what you said.

But "conforming" means much less -- a "conforming program" is just a
program that is acceptable to at least one conforming C implementation
somewhere. Since conforming C implementations are allowed to accept
*anything*, provided they issue a diagnostic, the term "conforming program"
is essentially meaningless.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
-
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/