warn_possunwant

Controls the recognition of possible unintentional logical errors.

Syntax
  #pragma warn_possunwant on | off | reset  
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 ==.

This pragma corresponds to the Possible Errors setting in the Language panel. To check this setting, use __option (warn_possunwant), described in Checking Pragma Settings. By default, this setting is disabled.