Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tool

Version

Checker

Description

Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC++-EXP59
Clang
Include Page
Clang_V
Clang_V

-Winvalid-offsetof

Emits an error diagnostic on invalid member designators, and emits a warning diagnostic on invalid types.
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

BADMACRO.OFFSETOF

Use of offsetof

GCC
Include Page
Gcc_V
Gcc_V

-Winvalid-offsetof

Emits an error diagnostic on invalid member designators, and emits a warning diagnostic on invalid types.
Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C++3915, C++3916


Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_CPP-EXP59-aUse offsetof() on valid types and members
Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C++: EXP59-CPPChecks use of offsetof macro with nonstandard layout class (rule fully covered)

...