Date: Fri, 18 Jul 1997 08:31:00 -0400 (EDT) Message-Id: <199707181231.IAA06259@delorie.com> From: DJ Delorie To: chirayu AT radiolink DOT net CC: djgpp AT delorie DOT com In-reply-to: <1.5.4.16.19970718174239.35bf8ec2@giasbga.vsnl.net.in> (message from Chirayu Krishnappa on Fri, 18 Jul 1997 08:10:32 -0400 (EDT)) Subject: Re: sizeof() in #if Precedence: bulk > However, gcc chokes on the #if sizeof(int)==2 line. Is'nt sizeof() a compile > time operator? Yes, but the compiler doesn't get control until *after* the preprocessor, which is the part that handles #if. The preprocessor does not know how big an int is.