warning_errors

Controls whether or not warnings are treated as errors.

Syntax
  #pragma warning_errors on | off | reset 
Remarks

If you enable this pragma, the compiler treats all warnings as though they were errors and does not translate your file until you resolve them.

This pragma corresponds to the Treat All Warnings as Errors setting in the Language panel. To check this setting, use __option (warning_errors), described in Checking Pragma Settings. By default, this pragma is disabled.