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

Description:
Sets if checking should be done to ensure that a precompiled header's data matches a project's target settings.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma check_header_flags on | off | reset
Remarks:
This pragma affects precompiled headers only.
When this pragma is on, the compiler makes sure that the precompiled header's preferences for double size (8-byte or 12-byte), int size (2-byte or 4-byte) and floating point math correspond to the build target's settings. If they do not match, the compiler generates an error.
If your precompiled header file has settings that are independent from those in the project, turn this pragma off. If your precompiled header depends on these settings, turn this pragma on.
This pragma does not correspond to any option in the C/C++ Language Panel. To check whether this option is on, use __option (check_header_flags), described in "Checking Options." By default, this pragma is off.
[ 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