This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28656] unhelpful null argument warning on memcpy()
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2006 01:43:39 -0000
- Subject: [Bug c++/28656] unhelpful null argument warning on memcpy()
- References: <bug-28656-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bangerth at dealii dot org 2006-10-12 01:43 -------
Confirmed. To make things more interesting, gcc presently gives me
the warning twice:
g/x> /home/bangerth/bin/gcc-4.2-pre/bin/c++ -c x.cc -Wall
x.cc: In function ‘int main()’:
x.cc:5: warning: null argument where non-null required (argument 1)
x.cc:5: warning: null argument where non-null required (argument 2)
x.cc:5: warning: null argument where non-null required (argument 1)
x.cc:5: warning: null argument where non-null required (argument 2)
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-10-12 01:43:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28656