warning: integer constant is too large for "long" type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I get the following warning message when compiling my program:

warning: integer constant is too large for "long" type

The warning is because of "volatile long long *ptr = (long long *)
0x7FFF00000000;"

Is there any flags that I need to use when compiling?

Thanks!
-- 
View this message in context: http://www.nabble.com/warning%3A-integer-constant-is-too-large-for-%22long%22-type-tf2776837.html#a7746957
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux