### warn_filenamecaps

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

##### Syntax

#pragma warn_filenamecaps on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the compiler issues a warning when an include directive capitalizes a filename within a user 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.

By default, this pragma only checks the spelling of user includes such as the following:

#include "file"

For more information on checking system includes, see pragma warn_filenamecaps_system.

This pragma corresponds to the Include File Capitalization setting . To check this setting, use __option (warn_filenamecaps), described in Checking Settings. The default setting is off.