Versions Compared

Key

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

...

Tool

Version

Checker

Description

Compass/ROSE

  

Can detect simple violations of this rule

Coverity7.5PW.DEPRECATED_STRING_CONVConversion Deprecates conversion from a string literal to "char *" is deprecated

LDRA tool suite

Include Page
LDRA_V
LDRA_V

157 S

Partially implemented
Parasoft C/C++test9.5PB-27 
PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v

0556
0752
0753

Partially implemented

Splint

Include Page
Splint_V
Splint_V
 

 

...

[ISO/IEC 9899:2011]6.4.5, "String Literals"
[Plum 1991]Topic 1.26, "Strings—String Literals"
[Summit 1995]comp.lang.c FAQ List, Question 1.32

 

...