Frustrated trying to be portable

xtdn at levels.sait.edu.au xtdn at levels.sait.edu.au
Tue Mar 5 08:27:31 AEST 1991


gwyn at smoke.brl.mil (Doug Gwyn) writes:
> In article <N4Q94O2 at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
> -The result of comparing two pointers into different objects is undefined
> -but when you don't care about the result why worry?
[...]
> for some architectures the C run-time implementation
> may trap on an attempt to compare two pointers to different objects.

Does this include == and !=, or just the other inequalities?


David Newall, who no longer works       Phone:  +61 8 344 2008
for SA Institute of Technology          E-mail: xtdn at lux.sait.edu.au
                "Life is uncertain:  Eat dessert first"



More information about the Comp.std.c mailing list