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


warn_emptydecl

Description:

Controls the recognition of declarations without variables.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

If the pragma warn_emptydecl is on, the compiler displays a warning when it encounters a declaration with no variables. For example:


int ;     // WARNING
int i;    // OK

This pragma corresponds to the Empty Declarations option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_emptydecl), 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