Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-20ECC383-87E2-4BA5-8ECA-BE4596A814DA

Document Table of 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 *.

IDE Equivalent
None
Alternate Options

None