-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 source file and -line information formatting in the preprocessor output. Switching -LpCfg off formats the output as in former compiler versions. Refer the following table for a list of argument effects.

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 unsignedint size_t ;/* 35 */ typedef signedint ptrdiff_t ;
e int j;int i; int j;int i;
f /**** FILE '<CWInstallDir>\MCU\lib\hc08c\include\hidef.h' */ /**** 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 */ typedefunsigned int size_t;/* 35 */ typedef signedint ptrdiff_t;/* 44 */ typedefunsigned char wchar_t; /* 22 */ typedef unsignedint size_t ;/* 35 */ typedef signedint ptrdiff_t ;/* 44 */ typedef unsignedchar 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