--- Module: x.cpp
_
{ p = new int[20]; }
x.cpp (9) : Info 1732: new in constructor for class 'X' which has no assignment
operator
x.cpp (9) : Info 1733: new in constructor for class 'X' which has no copy
constructor
_
{ memset( p, 20, 'a' ); }
x.cpp (11) : Warning 669: Possible data overrun for function 'memset(void *,
int, unsigned int)', argument 3 (size=97) exceeds argument 1 (size=80)
[Reference: file x.cpp: lines 9, 11]
_
{ delete p; }
x.cpp (13) : Warning 424: Inappropriate deallocation (delete) for 'new[]' data
--- Wrap-up for Module: x.cpp
Info 753: local class 'X' (line 4, file x.cpp) not referenced
|