[Gllug] C function strcasecmp
home at alexhudson.com
home at alexhudson.com
Sun Jul 29 20:11:42 UTC 2001
On Sun, Jul 29, 2001 at 08:48:30PM +0100, Mark Hemment wrote:
> There is a difference between illegal constructs and undefined behaviour
> within the C language. With undefined behaviour the compiler still has
> rules to follow. But under some conditions, one/some of those rules are
> "open", and can change from compiler-to-compiler (and even from
> optimization level to optimization level).
.. which was exactly what I was saying. The point is, in this case, although
there is still ambiguity, it makes no difference how the compiler interprets
it - it will always get it right.
It's simple gcse BODMAS, nothing more complicated.
Cheers,
Alex.
--
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list