### check_header_flags

Controls whether or not to ensure that a precompiled header’s data matches a project’s target settings.

##### Syntax

#pragma check_header_flags on | off | reset

##### Targets

All platforms.

##### Remarks

This pragma affects precompiled headers only.

If you enable this pragma, the compiler ensures 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 depends on these settings, enable this pragma. Otherwise, disable it.

This pragma does not correspond to any panel setting. To check this setting, use __option (check_header_flags), described in Checking Settings. The default setting is off.