Examples of errors detected by the V703 diagnostic


V703. It is odd that the 'foo' field in derived class overwrites field in base class.


ORCT2

V703 It is odd that the 'flags' field in derived class 'RCT12BannerElement' overwrites field in base class 'RCT12TileElementBase'. Check lines: RCT12.h:570, RCT12.h:259. libopenrct2 RCT12.h 570


struct RCT12SpriteBase
{
  ....
  uint8_t flags;
  ....
};
struct rct1_peep : RCT12SpriteBase
{
  ....
  uint8_t flags;
  ....
};


Bugs Found

Checked Projects
381
Collected Errors
13 764