From: Karthik on
Hi,
I get the error RC2177 with the latest WDK(7600.16385.1) for the
following code:
There is no problem in WDK 3790.1830


if(defined(LLONG_MAX) && (LLONG_MAX > CUSTOM_32__MAX) )

I have defined CUSTOM_32_MAX as below
#define CUSTOM_32_MAX INT_MAX

The value of INT_MAX is defined in limits.h in Visual Studio and WDK
as below
INT_MAX 2147483647

The value is correct.

Can somebody please tell me as to what could be the problem.
If I changed #define CUSTOM_32_MAX INT_MAX
to #define CUSTOM_32_MAX INT_MAX -1
The compilation error is resolved.