Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!cs.uoregon.edu!ogicse!intelhf!ichips!inews!hopi!bhoughto From: bhoughto@hopi.intel.com (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: Portability vs. Endianness Message-ID: <3031@inews.intel.com> Date: 14 Mar 91 01:47:48 GMT References: <1991Mar12.105451.19488@dit.upm.es> <3005@inews.intel.com> <1991Mar13.164840.20615@zoo.toronto.edu> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 21 In article <1991Mar13.164840.20615@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: >In article <3005@inews.intel.com> bhoughto@hopi.intel.com (Blair P. Houghton) writes: >>#if (((sizeof long)%(sizeof char)) == 0) /* even-numbered modulus */ > >Bleep. Error. At least, it won't do what you think. "sizeof" is not an >operator in #if; it is just another unknown identifier. I'll just mumble something here about "meta-code" and try not to look too guilty... And yes, that's been around here once or twice before, too. >Incidentally, that expression is guaranteed to be true anyway, because >sizeof char ==== 1. ("====" is the "emphatically equal to" operator. :-)) Yeh. I never were good about making my antecedents agree with its objects... --Blair "Pay no attention to the man behind the curtain, a-mundo."