This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: c++/4928: (unsigned long long) cast with random top 4 bytes


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


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