广告
广告
warn_filenamecaps_system
31.15 warn_filenamecaps_system
Controls the recognition of conflicts involving case-sensitive filenames within system includes.
Syntax
#pragma warn_filenamecaps_system on | off | reset
Remarks
If you enable this pragma along with warn_filenamecaps
, the compiler issues a warning message 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® systems when a long filename is available. This pragma helps avoid porting problems to operating systems with case-sensitive file names.
To check the spelling of system includes such as the following:
#include < file
>
Use this pragma along with the warn_filenamecaps pragma.
By default, this pragma is off.
NOTE
Some SDKs (Software Developer Kits) use "colorful" capitalization, so this pragma may issue a lot of unwanted messages.
31.16 warn_hiddenlocals
Controls the recognition of a local variable that hides another local variable.
Syntax
#pragma warn_hiddenlocals on | off | reset
Remarks
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
476 Freescale Semiconductor, Inc.
广告