warn_filenamecaps

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

Syntax
  #pragma warn_filenamecaps on | off | reset  
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 recognizes 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 warn_filenamecaps_system.

This pragma does not correspond to any panel setting in the Warnings panel. To check this setting, use __option (warn_filenamecaps), described in Checking Pragma Settings. By default, this pragma is disabled.