Xref: utzoo comp.lang.c:6282 comp.sys.m68k:656 Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!purdue!umd5!umbc3!alex From: alex@umbc3.UMD.EDU (Alex S. Crain) Newsgroups: comp.lang.c,comp.sys.m68k Subject: Re: C machine Message-ID: <708@umbc3.UMD.EDU> Date: 15 Jan 88 20:16:51 GMT References: <461@auvax.UUCP> <9961@mimsy.UUCP> <166@teletron.UUCP> <6936@brl-smoke.ARPA> <147@ateng.UUCP> <39aca826.7f32@apollo.uucp> <7092@brl-smoke.ARPA> Reply-To: alex@umbc3.UMD.EDU (Alex S. Crain) Organization: University of Maryland, Baltimore County Lines: 23 In article <7092@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >In article <39aca826.7f32@apollo.uucp> johnf@apollo.uucp (John Francis) writes: >>The result of subtracting two pointers is *defined* (K&R) to yield >>a result of type int. > >That's another of the things that ANSI C intends to fix. Fix? How pray tell would you fix it? make it machine dependent? or just arbitrary? Pick one: Pntr - Pntr -> int Pntr - Pntr -> long int Pntr - Pntr -> Pntr (This looks interesting ....) Pntr - Pntr -> NewAnsiTypeOfDuboiusValueFirstImplementedByBorland Pntr - Pntr -> ???? -- :alex. alex@umbc3.umd.edu