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 warning messages as though they were errors and does not translate your file until you resolve them.