Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Frustrated trying to be portable Message-ID: <15383@smoke.brl.mil> Date: 4 Mar 91 17:02:51 GMT References: <15367@smoke.brl.mil> <15938.27d2c9d3@levels.sait.edu.au> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8 In article <15938.27d2c9d3@levels.sait.edu.au> xtdn@levels.sait.edu.au writes: >> 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? The C standard requires that the exact equality test work in such a case; X3J11 was willing to require the additional "normalization" of pointers for that case, but not for general relational tests of pointers.