### warn_filenamecaps_system

Controls the recognition of conflicts involving case-sensitive filenames within system includes.

##### Syntax

#pragma warn_filenamecaps_system on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma along with warn_filenamecaps, the compiler issues a warning when an include directive capitalizes a filename within a system include differently from the way the filename appears on a disk. It also detects use of 8.3 DOS filenames in Windows when a long filename is available. This pragma helps avoid porting problems to operating systems with case-sensitive filenames.

To check the spelling of system includes such as the following:

#include <file>

use this pragma along with the warn_filenamecaps pragma.

This pragma corresponds to the Check System Includes setting . To check this setting, use __option (warn_filenamecaps_system), described in Checking Settings. The default setting is off.

NOTE Some SDKs use “colorful” capitalization, so this pragma may issue a lot of unwanted messages.