gcc-3.3.2 says error: integer constant is too large for "long" type
Peter Barada
peter@the-baradas.com
Wed Feb 4 04:51:00 GMT 2004
>I'm looking for a clue as to why I get an error with my crosstool
>generated toolchain, but not with any other. Here is my source file,
>test.c:
>
> int main ()
> {
> unsigned long long int test = 0x0008000000000000;
> }
Try:
> unsigned long long int test = 0x0008000000000000LL;
--
Peter Barada
peter@the-baradas.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list