User and Reference Guide for the Intel® C++ Compiler 14.0

Wwrite-strings

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

Syntax

Linux OS and OS X:

-Wwrite-strings

Windows OS:

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 *.

IDE Equivalent

None

Alternate Options

None


Submit feedback on this help topic