Developer Guide and Reference

Contents

Wwrite-strings

Issues a diagnostic message if const char * is converted to (non-const) char *.

Syntax

Linux:
-Wwrite-strings
macOS:
-Wwrite-strings
Windows:
None
Arguments
None
Default
OFF
No diagnostic message is issued if const char * is converted to (non-const) char*.
Description
This option issues a diagnostic message if const char* is converted to (non-const) char *.
Alternate Options
None

Product and Performance Inform