Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

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

Document Table of Contents

Wwrite-strings

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

Syntax

Linux:

-Wwrite-strings

Windows:

/Wwrite-strings

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