Date: Wed, 24 Mar 1999 17:40:16 +0100 From: Hans-Bernhard Broeker Message-Id: <199903241640.RAA15659@acp3bf.physik.rwth-aachen.de> To: djgpp AT delorie DOT com Subject: Re: Preprocessor hates sizeof Newsgroups: comp.os.msdos.djgpp Organization: RWTH Aachen, III. physikalisches Institut B X-Newsreader: TIN [version 1.2 PL2] Reply-To: djgpp AT delorie DOT com In article you wrote: > Hi > I wonder why the following line does not compile and how to make it work: > #if sizeof(long int)==sizeof(int) > (Borland likes it) Preprocessors are *not* allowed to like that line. Borland is violating the definition of C if it accepts that line and does what you think it should. So Borland is in error, here, not DJGPP. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.