### warn_possunwant

Controls the recognition of possible unintentional logical errors.

##### Syntax

#pragma warn_possunwant on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the compiler checks for common errors that are legal C/C++ but might produce unexpected results, such as putting in unintended semicolons or confusing = and ==. For more information about this warning, see “Common Errors”.

This pragma corresponds to the Possible Errors setting . To check this setting, use __option (warn_possunwant), described in Checking Settings. The default setting is off.