public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4584: [2003-01-21] Using null pointers for fake addressof() generates warnings
@ 2003-05-08 22:05 bangerth
0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-05-08 22:05 UTC (permalink / raw)
To: calvin.austin, gcc-bugs, gcc-prs, hui.huang, nobody
Synopsis: [2003-01-21] Using null pointers for fake addressof() generates warnings
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Thu May 8 22:05:45 2003
State-Changed-Why:
3.3 and present mainline say this:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c 2810-2.ii
<internal>:6: warning: invalid access to non-static data member `X::p' of NULL
object
<internal>:6: warning: (perhaps the `offsetof' macro was used incorrectly)
I think the warning is valid, but if you don't like it you're
of course free to shut it off.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4584
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-08 22:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 22:05 c++/4584: [2003-01-21] Using null pointers for fake addressof() generates warnings bangerth
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).