[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


warning_errors

Description:

Controls whether warnings are treated as errors or not.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

Prototype:
  #pragma warning_errors on | off | reset Remarks:

When the pragma warning_errors is on, the compiler treats all warnings as though they were errors. It will not compile a file until all warnings are resolved.

This pragma corresponds to the Treat All Warnings as Errors option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warning_errors), described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000