Path: utzoo!utgpu!cunews!cognos!geovision!pt From: pt@geovision.uucp (Paul Tomblin) Newsgroups: comp.lang.c Subject: Re: 32 bit longs Message-ID: <1348@geovision.UUCP> Date: 23 Jan 91 17:21:35 GMT References: <14824@smoke.brl.mil> <1991Jan13.182655.17672@athena.mit.edu> <1291@mti.mti.com> <231@nazgul.UUCP> Reply-To: pt@geovision.gvc.com Distribution: comp Organization: GeoVision Corp., Ottawa, Ontario Lines: 18 bright@nazgul.UUCP (Walter Bright) writes: > if (sizeof(x) == 4) > /* code here depends on 32 bits in x */ > ... > else > /* Portability alert! */ > assert(0); /* rewrite this algorithm! */ What could possibly be the advantage of that code over the following?: /* If this assertion fails, port to another machine or rewrite! */ assert(sizeof(x) == 4); -- Paul Tomblin, Department of Redundancy Department. ! My employer does The Romanian Orphans Support Group needs your help, ! not stand by my Ask me for details. ! opinions.... pt@geovision.gvc.com or {cognos,uunet}!geovision!pt ! Me neither.