strictheaderchecking

Controls how strictly the compiler checks headers for standard C library functions.

Syntax

#pragma strictheaderchecking on | off | reset

Targets
All platforms.
Remarks

The 3.2 version compiler recognizes standard C library functions. If the correct prototype is used, and, in C++, if the function appears in the “std” or root namespace, the compiler recognizes the function, and is able to optimize calls to it based on its documented effects.

When this pragma is on, in addition to having the correct prototype, the declaration must also appear in the proper standard header file (and not in a user header or source file).

This pragma does not correspond to any panel setting. The default setting is on.