pro64-support
[Top] [All Lists]

Re: variants.h : integer constant out of range

To: Hongbo Yang <hyang@xxxxxxxxxxxxxx>
Subject: Re: variants.h : integer constant out of range
From: Chandrasekhar Murthy <murthy@xxxxxxx>
Date: Wed, 02 May 2001 12:36:21 -0700
Cc: pro64-support@xxxxxxxxxxx
References: <Pine.GSO.3.96.1010502151911.22819U-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
Hongbo Yang wrote:
> 
> In variants.h, there is a macro definition:
> 
> #define V_PF_FLAGS              0xffffffff00000000 /* Prefetch flags */
> 
> While compiling the programs that use this macro using GCC 2.95.3 it
> always complains that "integer constant out of range".
> 
> -- Hongbo Yang

I think changing the define to

#define V_PF_FLAGS              0xffffffff00000000LL /* Prefetch flags
*/

should fix the problem.

Murthy

<Prev in Thread] Current Thread [Next in Thread>