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


warn_structclass

Description:

Controls the issuing of warnings for possibly unintended mixing of class and struct keywords.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

If the warn_structclass pragma is on, the compiler issues a warning if the class and struct keywords are used in the definition and declaration of the same identifier.

This pragma corresponds to the Inconsistent use of `class' and `struct' Keywords option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_structclass), described in "Checking Options." For more information about this warning see "Catching Mixed Use of `class' and `struct' Keywords."


[ 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