This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __int64
- To: Timothy_Ko at nag dot national dot com dot au
- Subject: Re: __int64
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Mon, 2 Apr 2001 11:54:06 -0700 (PDT)
- Cc: gcc at gcc dot gnu dot org
> I rename "__int64" with "long long", for typedef.
> Lastly, I discovered that I have to rename 0x123456789 to x123456789ll.
>
> However, I cannot get around an issue with "integer constant out of range" for
> __int64:
>
> void aFunction(word64 *str, word64 state[3])
> {
> aFunction_macro(((word64*)str), ((word64*)state)); <--------- "integer
> constant out of range"
> }
>
> where word64 is "typedef unsigned long long word64".
> abd where aFunction_macro define in the same file as:
>
> #define aFunction_macro(str, state) \
> { \
> ...
> }
>
> Can anyone help me?
No one can help you, because your error is in the part of your code that
you replaced by "...".
And why are you casting str and state to word64* when they are already
of this type?