c++/4928: (unsigned long long) cast with random top 4 bytes
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Mon Dec 3 08:22:00 GMT 2001
Synopsis: (unsigned long long) cast with random top 4 bytes
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Dec 3 08:22:45 2001
State-Changed-Why:
In gcc 3.0, g++ issues a warning:
q.cc: In function `int main()':
q.cc:9: warning: cast from pointer to integer of different size.
You are taking the address of an int, and casting it to
an unsigned long long, hence the warning.
Not a gcc problem.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4928&database=gcc
More information about the Gcc-bugs
mailing list