Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!uupsi!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: 32 bit longs Message-ID: <14920@smoke.brl.mil> Date: 21 Jan 91 22:03:59 GMT References: <1991Jan13.182655.17672@athena.mit.edu> <1291@mti.mti.com> <231@nazgul.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 13 In article <231@nazgul.UUCP> bright@nazgul.UUCP (Walter Bright) writes: >P.S. I prefer stuff like: > #if sizeof(long) == 4 > ... > #else > #error This algorithm needs to be ported > #endif >but ANSI C seems to have torpedoed that. I don't know why you say "torpedoed" -- that usage was never proper C, was not supported by the UNIX C implementations, and would require significantly more complex preprocessing, assuming that one could even specify precisely how to fit it into the phases of translation.