-LpCfg: Preprocessor Output Configuration

Group

OUTPUT

Scope

Compilation Unit

Syntax
  -LpCfg[={c|e|f|l|m|n|q|s}] 
  
Arguments

s: Reconstruct spaces

q: Handle single quote ['] as normal token

n: No string concatenation

m: Do not emit file names

l: Emit #line directives in preprocessor output

f: Filenames with path

e: Emit empty lines

c: Do not emit line comments

Note: It is necessary to use q option when invoking the preprocessor on linker parameter files ( .prm), because such files may contain linear address specifiers, for example 0x014000'F.
Default

If -LpCfg is specified, all suboptions (arguments) are enabled

Defines

None

Pragmas

None

Description

The -LpCfg option specifies how source file and -line information is formatted in the preprocessor output. Switching -LpCfg off means that the output is formatted as in former compiler versions. The effects of the arguments are listed in the following table.

Table 1. Effects of Source and Line Information Format Control Arguments
Argument on off
c typedef unsigned int size_t ;typedef signed int ptrdiff_t ; /* 22 */ typedef unsigned int size_t ;/* 35 */ typedef signed int ptrdiff_t ;
e int j;int i; int j;int i;
f /**** FILE '<CWInstallDir>\MCU\lib\hc08c\include\hidef.'*/ /**** FILE 'hidef.h' */
l #line 1 "hidef.h" /**** FILE 'hidef.h' */
n /* 9 */ foo ( "abc" "def" ) ; /* 9 */ foo ( "abcdef" ) ;
m   /**** FILE 'hidef.h' */
s /* 22 */ typedef unsigned int size_t;/* 35 */ typedef signed int ptrdiff_t;/* 44 */ typedef unsigned char wchar_t; /* 22 */ typedef unsigned int size_t ;/* 35 */ typedef signed int ptrdiff_t ;/* 44 */ typedef unsigned char wchar_t ;
all #line 1 "<CWInstallDir>\MCU\lib\hc08c\include\hidef.h" /**** FILE 'hidef.h' *//* 20 */
Note: CWInstallDir is the directory in which the CodeWarrior software is installed.
Example
  -Lpcfg 
  
  -Lpcfg=lfs 
  
See also

-Lp: Preprocessor Output