[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNULIB stdint_.h vs windows VC6 compiler
From: |
Dennis Jones |
Subject: |
Re: GNULIB stdint_.h vs windows VC6 compiler |
Date: |
Mon, 21 Aug 2006 08:48:48 -0700 |
Mark,
Add parentheses:
#if (LONG_MAX >> 31) >> 31 == 1
- Dennis
----- Original Message -----
From: "Mark D. Baushke" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>; "Dennis Jones" <address@hidden>
Sent: Monday, August 21, 2006 3:08 AM
Subject: GNULIB stdint_.h vs windows VC6 compiler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Folks,
It seems that the latest stdint_.h file is using contructs that is
confusing the windows VC6 compiler used to build the CVS sources.
The two problems are
.\windows-NT\stdint.h(133) : warning C4067: unexpected tokens following
preprocessor directive - expected a newline
and
.\windows-NT\stdint.h(433) : warning C4067: unexpected tokens following
preprocessor directive - expected a newline
which correspond to the same construct. In both cases, this is the
offending line:
#if LONG_MAX >> 31 >> 31 == 1
Does anyone have any suggestions for how to get around this problem?
Thanks,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iD8DBQFE6YYgCg7APGsDnFERAk0hAKDdXJs5eDEuvz4v15oowLx3Xg12iwCfQeiV
5L9vSG6v2JU8M1mQnc2pLkk=
=mpaO
-----END PGP SIGNATURE-----