Order        Lint 8.00 Patches        Discussion Forum   
Contact      Site Map       
   Home
   Bug of the Month
   Products
   Order
   Support
   Company
   Links
   Interactive Demo
  Search:
site web

 

Lint Output


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


Back to x.cpp source code

 

Home | Contact | Order

PC-lint and FlexeLint are trademarks of Gimpel Software
Copyright © 2006, Gimpel Software, All rights reserved.