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


warn_unusedarg

Description:

Controls the recognition of unreferenced arguments.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

If the pragma warn_unusedarg is on, the compiler generates a warning when it encounters an argument you declare but do not use.

This pragma corresponds to the Unused Arguments option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_unusedarg), described in "Checking Options." For more information about this warning see "Finding Unused Arguments."


[ 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