flat_include. NXP CodeWarrior Development Studio
Publicité
Publicité
flat_include
Remarks
If you enable this pragma, generating a precompiled header can be much faster, depending on the header structure. However, the precompiled file can also be slightly larger.
This pragma does not correspond to any panel setting. By default, this setting is off
.
32.3 flat_include
Controls whether or not to ignore relative path names in
#include
directives.
Syntax
#pragma flat_include on | off | reset
Remarks
For example, when on
, the compiler converts this directive
#include <sys/stat.h > to
#include <stat.h>
Use this pragma when porting source code from a different operating system, or when a
CodeWarrior IDE project's access paths cannot reach a given file.
By default, this pragma is off
.
32.4 fullpath_file
Controls if
__FILE__
macro expands to a full path or the base file name.
Syntax
#pragma fullpath_file on | off | reset
Remarks
When this pragma on
, the
__FILE__
macro returns a full path to the file being compiled, otherwise it returns the base file name.
CodeWarrior Development Studio for Power Architecture Processors Build Tools Reference Manual, Rev.
10.6, 02/2014
490 Freescale Semiconductor, Inc.
Télécharger
Publicité