delorie.com/archives/browse.cgi | search |
Date: | Fri, 18 Jul 1997 08:10:32 -0400 (EDT) |
Message-Id: | <1.5.4.16.19970718174239.35bf8ec2@giasbga.vsnl.net.in> |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
From: | Chirayu Krishnappa <chirayu AT radiolink DOT net> |
Subject: | sizeof() in #if |
Hi, I wanted to write a types.h file #defining in2, int4 & int8 to maintain portability. However, gcc chokes on the #if sizeof(int)==2 line. Is'nt sizeof() a compile time operator? Help. Thanks & Bye, Chirayu Krishnappa: ------------------ e-mail: chirayu AT poboxes DOT com Phone: 91 080 3332616. ============================================================================ ==========
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |