delorie.com/archives/browse.cgi | search |
--=-QpJEWdcXSrWuV/q08Fbg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-03-21 at 08:01, Tron Thomas wrote: > I'm sorry. I misread what you wrote. I thought you were suggesting=20 > that I try the #elif directive in simple coding example to see if the=20 > compiler would accept it. This is was I used: > This program compiles just fine, and if I define the proper value, it=20 > print the expected text. So it looks like the #elif directive, in=20 > general, is compatable with the Cygwin compiler. It doesn't explain why=20 > the error message still occurs. I suppose I could try changing the code=20 > to what you actually suggested and see if that works. IIRC the elif directive requires the define to be, well, defined. the error you got suggests to me that #elif defined(_WIN32)=20 would be a better test. Rob --=20 GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>. --=-QpJEWdcXSrWuV/q08Fbg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+eizmI5+kQ8LJcoIRAp8cAKCsr71JsyXN+TRn0bdCihHfH5mCFgCeJk6D BGC4z5bFiNuzEHtoSdP3Ibw= =j9JZ -----END PGP SIGNATURE----- --=-QpJEWdcXSrWuV/q08Fbg--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |