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


warn_possunwant

Description:

Controls the recognition of possible unintentional logical errors.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

If the pragma warn_possunwant is on, the compiler checks for some common typographical mistakes that are legal C and C++ but that may have unwanted side effects, such as putting in unintended semicolons or confusing = and ==.This pragma corresponds to the Possible Errors option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_possunwant), described in "Checking Options." For more information about this warning see "Avoid Unintentional Errors."


[ 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