Versions Compared

Key

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

...

Tool

Version

Checker

Description

Coverity6.5DELETE_VOIDFully Implementedimplemented
Clang
Include Page
Clang_V
Clang_V
-Wdelete-incomplete 

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Bibliography

[Dewhurst 03]Gotcha #39, "Casting Incomplete Types"
[ISO/IEC 14882-2014]

5.3.5Subclause 4.10, "DeletePointer Conversions"
Subclause 5.2.9, "Static Cast"
Subclause 5.2.10, "Reinterpret Cast"
Subclause 5.3.5, "Delete"
Subclause 5.4, "Explicit Type Conversion (Cast Notation)"4.10, "Pointer Conversions"

[Sutter 00]"Compiler Firewalls and the Pimpl Idiom"[Dewhurst 03]Gotcha 39, "Casting Incomplete Types"

 

...