Hey guys,

I don't know C++ very well, so I'm not sure what to make of some of these
messages PC-lint gives me. If it wouldn't be too much trouble, could you
take a look at these and tell me how I can filter which ones are problems
and which ones aren't? Your comments on bit-shifting before really helped
a lot.

Thanks!


  _
  return *d | (d[1] << 8);
..\include\resource.h  146  Error 34: Non-constant Initializer
                                                       _
    used in expression
..\include\gfx_system.h  144  Error 64: Type mismatch (initialization)
(int =
    struct)
..\include\gfx_system.h  144  Error 34: Non-constant Initializer
              _
        return ((a.x >= b.x) && (a.y >= b.y)
..\include\gfx_system.h  209  Error 34: Non-constant Initializer
              _
        point_t point;
..\include\gfx_system.h  245  Error 78: Symbol 'point_t' typedef'ed at
line 235
    used in expression
..\include\gfx_system.h  245  Error 64: Type mismatch (initialization)
(int =
    struct)
..\include\gfx_system.h  245  Error 34: Non-constant Initializer


--
http://www.clock.org/~matt




Reply via email to