This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __int64



> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]