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

Description:
Controls the issuing of warnings when the results of functions are ignored.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma warn_resultnotused on | off | reset
Remarks:
When this pragma is on, the compiler will issue a warning when it encounters a statement that calls a function without using its result. To prevent this warning, cast the statement with (void).
To check whether this option is on, use __option (warn_resultnotused), described in "Checking Options." For more information about this warning see "Finding Ignored Function Results."
[ 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