Mark,

Add parentheses:

#if (LONG_MAX >> 31) >> 31 == 1

- Dennis

----- Original Message ----- From: "Mark D. Baushke" <[EMAIL PROTECTED]>
To: <bug-gnulib@gnu.org>
Cc: <bug-cvs@nongnu.org>; "Dennis Jones" <[EMAIL PROTECTED]>
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-----





Reply via email to