pro64-support
[Top] [All Lists]

Re: compiling error "integer constant out of range" when building pro

To: "'pro64-support@xxxxxxxxxxx'" <pro64-support@xxxxxxxxxxx>, "Tuo, Tony" <tony.tuo@xxxxxxxxx>
Subject: Re: compiling error "integer constant out of range" when building pro 64 0.13 with gcc 2.95.2
From: lesniak@xxxxxxxxxxxxxxxxxxxxx (Ken Lesniak)
Date: Mon, 21 May 2001 09:57:36 -0400 (EDT)
Reply-to: lesniak@xxxxxxxxxxxxxxxxxxxxx
Sender: owner-pro64-support@xxxxxxxxxxx
>From: "Tuo, Tony" <tony.tuo@xxxxxxxxx>
>
>This error occurred when compiling be/cg/exp_loadstore.cxx. It's caused by the 
>macro definition in cg/variants.h in line 254/255/256:
>line 254: #define V_pf_flags(v)     ((UINT32)(((v) & V_PF_FLAGS) >>32))
>
>Is there any problems in this definition?
>
>Tuo

Hi,

Someone on the list recently pointed out our error in variants.h.

The solution is to change the definition of V_PF_FLAGS so that it has
a ULL suffix:

#define V_PF_FLAGS              0xffffffff00000000ULL /* Prefetch flags */


Ken

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