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]

[Bug c++/28656] unhelpful null argument warning on memcpy()



------- 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


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