[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Catching Illegal Pragmas

If the Illegal Pragmas option is on, the compiler displays a warning when it encounters an illegal pragma. For example, these pragma statements generate warnings:
#pragma near_data off // WARNING: near_data is not a pragma.
#pragma far_data select // WARNING: select is not defined
#pragma far_data on // OK
The Illegal Pragmas option corresponds to the pragma warn_illpragma, described at "warn_illpragma." To check whether this option is on, use __option (warn_illpragma).See "Checking Options" for information on how to use this directive.
[ 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