Newsgroups: comp.std.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Frustrated trying to be portable
Message-ID: <1991Mar3.003847.19832@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <15240@smoke.brl.mil> <4188@skye.ed.ac.uk> <1991Feb20.175318.28496@zoo.toronto.edu> <2960@cirrusl.UUCP> <N4Q94O2@xds13.ferranti.com>
Date: Sun, 3 Mar 1991 00:38:47 GMT

In article <N4Q94O2@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes:
>In the former case, overlap is a problem but you can compare them for
>magnitude. In the latter case, overlap is not a problem. The result of
>comparing two pointers into different objects is undefined but when you
>don't care about the result why worry?
>
>(or is this one of those cases where "undefined" means "run nethack"?)

"Undefined" *always* means "might run nethack", "might call your boss and
report you for incompetence", "might phone an anonymous tip to the FBI that
you're running dope to Saddam Hussein", etc.  Portable programs must avoid
ever encountering such situations.
-- 
"But this *is* the simplified version   | Henry Spencer @ U of Toronto Zoology
for the general public."     -S. Harris |  henry@zoo.toronto.edu  utzoo!henry
