MCPP - Online Linux Manual PageSection : 1
Updated : Mar 2008
Source : alternative CPP
Note : User Commands
NAMEmcpp − Matsui CPP, an alternative C preprocessor
SYNOPSISmcpp [options] [<infile> [<outfile>]]
DESCRIPTIONmcpp is a C/C++ preprocessor with the highest conformance which implements C90, C99 and C++98. mcpp has plentiful diagnostics and many #pragmas. It is useful to check portability of your program, and also useful to debug complicated macro. This is a man-page for mcpp of compiler-independent-build.
OPTIONSmcpp expects two file names as arguments, <infile> and <outfile>. If not specified, <infile> defaults to standard input and <outfile> defaults to standard output. It takes the following options. Commonly used options: -@MODE Specify preprocessing mode. MODE should be one of these 4: -@std Standard conforming mode. (default) -@poststd, -@post special 'post-Standard' mode. -@kr K&R 1st mode. -@oldprep, -@old "old_preprocessor" mode (i.e. "Reiser model" cpp). -C Output also comments. -D <macro>[=<value>] Define <macro> as <value> (default:1). -D <macro(args)>[=<replace>] Define <macro(args)> as <replace>. -e <encoding> Change the default multi-byte character encoding to one of: euc_jp, gb2312, ksc5601, big5, sjis, iso2022_jp, utf8. -I <directory> Add <directory> to the #include search list. -I- Unset system or site specific include directories. -j Do not output the source line in diagnostics. -M, -MM, -MD, -MMD, -MP, -MQ target, -MT target, -MF file Output source file dependency line for makefile. -N Don't predefine any non-standard macros. -o <file> Output to <file>. -P Don't output #line lines. -Q Output diagnostics to "mcpp.err" (default:stderr). -U <macro> Undefine <macro>. -v Show version of mcpp. -W <level> Set warning level to <level> (OR of {0,1,2,4,8,16}, default:1). -z Don't output the included file, only defining macros. Options available with -@std (default) or -@poststd options: -+ Process C++ source. -2 Enable digraphs. -h <n> Re-define the pre-defined macro __STDC_HOSTED__ as <n>. -S <n> Redefine __STDC__ to <n>, undefine old style macros. -V <n> Redefine __STDC_VERSION__ or __cplusplus to <n>.
C with -V199901L specifies C99 mode.
C++ with -V199901L specifies C99 compatible mode. Options available with only -@std (default) option: -@compat Expand recursive macro more than Standard. -3 Enable trigraphs. -K Embed macro annotations into comments. Options available with -@std (default), -@kr or -@oldprep options: -a Process "assembler" source.
PRAGMAmcpp has the following #pragma directives. #pragma once Read the header file only once even if multiply #included. .IP "#pragma __setlocale( ""encoding"")" Specify the multibyte character encoding to "encoding". See -e option for the encodings. #pragma MCPP put_defines Putout all the macro definitions currently valid. #pragma MCPP debug <args> Start to putout debugging informations.
<args> should be one or more of:
token expand macro_call path if expression memory getc #pragma MCPP end_debug <args> Stop to putout debugging informations.
<args> are the same with 'debug'.
No argument specifies all arguments. .IP "#pragma MCPP push_macro( ""MACRO"")" Save the macro definition to the stack. .IP "#pragma MCPP pop_macro( ""MACRO"")" Retrieve the macro definition from the stack. #pragma MCPP preprocess "Pre-preprocess" the following header files for mcpp. #pragma MCPP warning any message Putout warning "any message".
VERSIONMCPP V.2.7 (2008/03) compiler-independent-build
SEE ALSODo 'man mcpp-gcc' for mcpp of GCC-specific-build. The full documentation for mcpp are maintained as html files. Please see mcpp-manual.html. 0
Johanes Gumabo
Data Size : 18,858 byte
man-mcpp.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 189,587
Visitor ID : :
Visitor IP : 18.119.118.151 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_IP|5|mcpp.1|94|4|.IP "#pragma __setlocale( ""encoding"")"
) (rof_IP|5|mcpp.1|107|4|.IP "#pragma MCPP push_macro( ""MACRO"")"
) (rof_IP|5|mcpp.1|109|4|.IP "#pragma MCPP pop_macro( ""MACRO"")"
)