### /Sr Compiler Option (C)

Syntax: | Default:
/Sr[+|-] | /Sr-

This option is not valid for C++ programs.

Use /Sr to use old-style rules for type conversion. Old-style rules preserve the sign. They do not conform to ANSI standards.

By default, the compiler uses ANSI standard rules for type conversion. These rules preserve accuracy.

Note: This option is valid for C files only. C++ files must use the ANSI standard type conversion rules.

Summary of Compiler Options
Language-Dependent Options