public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4928: (unsigned long long) cast with random top 4 bytes
@ 2001-12-03  8:26 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-12-03  8:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/4928; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  naiman@math.jct.ac.il, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/4928: (unsigned long long) cast with random top 4 bytes
Date: 3 Dec 2001 16:22:45 -0000

 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/4928: (unsigned long long) cast with random top 4 bytes
@ 2001-12-03  8:22 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-12-03  8:22 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, naiman, nobody

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-03 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03  8:26 c++/4928: (unsigned long long) cast with random top 4 bytes rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-12-03  8:22 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).