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

Description:
Controls the recognition of unreferenced variables.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma warn_unusedvar on | off | reset
Remarks:
If the pragma warn_unusedvar is on, the compiler generates a warning when it encounters a variable you declare but do not use.
This pragma corresponds to the Unused Variables option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_unusedvar), described in "Checking Options." For more information about this warning see "Finding Unused Variables."
[ 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