User`s guide
Pragmas for the DSP56800 and DSP56800E
Pragma Reference
420
Targeting MC56F83xx/DSP5685x Controllers
Prototype
#pragma warn_filenamecaps_system on | off | reset
Remarks
If you enable this pragma, 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 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.
To check the spelling of system includes such as the following:
#include <file>
use this pragma along with the warn_filenamecaps pragma.
This pragma does not correspond to any panel setting in the C/C++ Preprocessor
panel. To check this setting, use __option (warn_filenamecaps_system),
described in Checking Settings
. By default, this pragma is disabled.
warn_illpragma
Controls the recognition of illegal pragma directives.
Prototype
#pragma warn_illpragma on | off | reset
Remarks
If you enable this pragma, the compiler displays a warning when it encounters a
pragma it does not support. For more information about this warning, see “Illegal
Pragmas.”
This pragma corresponds to the Illegal Pragmas setting in the C/C++ Preprocessor
panel. To check this setting, use __option (warn_illpragma), described in
Checking Settings
. By default, this setting is disabled.