no_conststringconv

Disables the deprecated implicit const string literal conversion (ISO/IEC 14882-2003 C++, §4.2).

Syntax
  #pragma no_conststringconv on | off | reset   
Remarks

When enabled, the compiler generates an error message when it encounters an implicit const string conversion.

Listing: Example of const string conversion
#pragma no_conststringconv on 
char *cp = "Hello World"; /* Generates an error message. */ 

This pragma does not correspond to any panel setting. By default, this pragma is off.