Lines Matching +full:preserve +full:- +full:comments
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
13 <td width="885"> <font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="6">The
32 <pre>Usage: wave [options] [@config-file(s)] file:
35 -h [--help]: print out program usage (this message)
36 -v [--version]: print the version number
37 -c [--copyright]: print out the copyright statement
38 --config-file filepath: specify a config file (alternatively: @filepath)
41 -o [--output] path: specify a file [path] to use for output instead of
42 stdout or disable output [-]
43 -E [ --autooutput ]: output goes into a file named <input_basename>.i
44 -I [--include] path: specify an additional include directory
45 -S [--sysinclude] syspath: specify an additional system include directory
46 -F [--forceinclude] file: force inclusion of the given file
47 -D [--define] macro[=[value]]: specify a macro to define
48 -P [--predefine] macro[=[value]]: specify a macro to predefine
49 -U [--undefine] macro: specify a macro to undefine
50 -u [--undefineall]: undefine all macrodefinitions
51 -n [--nesting] depth: specify a new maximal include nesting depth
54 -t [--traceto] arg: output trace info to a file [arg] or to stderr [-]
55 --timer: output overall elapsed computing time
56 --long_long: enable long long support if C++ mode
57 --variadics: enable variadics and placemarkers in C++ mode
58 --c99: enable C99 mode (implies variadics and placemarkers)
59 --c++11: enable C++11 mode (implies --variadics and --long_long)
60 --c++20: enable C++20 mode (adds __VA_OPT__ to variadics)
61 (implies --variadics and --long_long)
62 -l [ --listincludes ] arg: list included file to a file [arg] or to stdout [-]
63 -m [ --macronames ] arg: list names of all defined macros to a file [arg] or
64 to stdout [-]
65 -c [ --macrocounts ] arg list macro invocation counts to a file [arg] or to
66 stdout [-]
67 -p [ --preserve ] arg (=0): preserve whitespace
70 2: comments and begin of line whitespace is preserved,
72 -L [ --line ] arg (=1): control the generation of #line directives
75 -x [ --extended ]: enable the #pragma wave system() directive
76 -G [ --noguard ]: disable include guard detection
77 -g [ --listguards ]: list names of files flagged as 'include once' to a
78 file [arg] or to stdout [-]
79 -s [ --state ] arg: load and save state information from/to the given
80 file [arg] or 'wave.state' [-] (interactive mode
85 the extended options (--c99 and --variadics) are available only, if the driver
88 <P dir="ltr">-o [--output] path</P>
91 … the standard output is used (stdout). If the filename given equals to <tt>'-'</tt> (without the q…
93 <P dir="ltr">-E [--autooutput]</P>
95 …tion will not have any effect if there is specified an output file name with a --output option.</p>
97 <P dir="ltr">-I [--include] option</P>
102 not use this option to add directories that contain vendor-supplied
103 system header files (use '-S' for that). If you use more than
104 one '-I' option, the directories are scanned in left-to-right order,
107 '-S', is also specified with '-I', the '-I' option will be
111 <p dir="ltr">-I- [--include-] option</p>
116 <p dir="ltr">Any directories specified with '-I' options before
117 …an eventually given '-I-' option are searched only for the case of '#include "file"…
120 with '-I' options after a '-I-' option was given, these directories are searched
121 for all '#include' directives (ordinarily all '-I' directories are used this way.). </p>
122 <p dir="ltr">In addition, the '-I-' option inhibits the
124 …directives . With '-I.' you can specify searching the directory which was current when the compile…
127 <p dir="ltr">-S [--sysinclude] option</p>
130 to be searched for system header files. If you use more than one '-S' option,
131 the directories are scanned in left-to-right order. This option is most useful
135 <p dir="ltr">-F [--forceinclude] option</p>
139 such option is given, the files are pre-included in the sequence of its occurance
142 <p dir="ltr">-D [--define] macro[=definition]<br>-P [--predefine] macro[=definition]</p>
144 <p dir="ltr">This option allows to define ('-D') or predefine ('-P') a macro
145 from the command line. The string given in conjunction with the '-D' or '-P'
148 <p dir="ltr"> The only difference between the '-D' and the '-P' options is,
152 <p dir="ltr">-U [--undefine] macro </p>
159 predefined macros, which are not undefinable. If -U and -D are both specified
162 <p dir="ltr">-n [--nesting] depth</p>
168 <p dir="ltr">-t [--traceto] path</p>
172 log. If the filename given equals to <tt>'-'</tt> (without the quotes), the
178 <p dir="ltr">--timer</p>
184 <p dir="ltr">--variadics</p>
190 <p dir="ltr">--c99</p>
195 specific token types as for instance <tt>'::'</tt>, <tt>'->*'</tt> and <tt>'->.'</tt>.
200 <p dir="ltr">--c++11</p>
208 <p dir="ltr">-l [--listincludes] path</p>
210 …e output of the generated include log. If the filename given equals to <tt>'-'</tt> (without the q…
212 <p dir="ltr">-m [--macronames] path</p>
214 …he output of the generated macro list. If the filename given equals to <tt>'-'</tt> (without the q…
216 <p dir="ltr">-c [--macrocounts] path</p>
218 … for the output of the generated list. If the filename given equals to <tt>'-'</tt> (without the q…
220 <p dir="ltr">-p [--preserve] arg </p>
222 …Preserve the whitespace from the input stream not located inside of macro definitions. The argumen…
223 …<p dir="ltr">The comments located inside macro definitions are skipped even if this option is spec…
225 <p dir="ltr">-L [--line]</p>
229 <p dir="ltr">-x [--extended]</p>
234 <p dir="ltr">-G [--noguard] </p>
238 <p dir="ltr">-g [--listguards] arg </p>
242 into the given file. If the filename given equals to <tt>'-'</tt> (without the quotes), the
245 <p dir="ltr">-s [--state]</p>
250 <p dir="ltr">@ [--config-file] option</p>
254 global configurations. A config file may contain additional options (i.e. -I, -S,
255 -F, -U, -D and -P options), one option per line. Empty lines and lines beginning
258 …the first non-whitespace character on a line. Here is a small sample illustrating the supported co…
262 --variadics
266 </span> --timer
270 </span> -D__GNUC__=3
271 -D__GNUC_MINOR__=3
272 -D__GNUC_PATCHLEVEL__=2
273 -D__GNUG__
277 -S/usr/local/boost</pre>
301 <p class="copyright">Copyright © 2003-2011 Hartmut Kaiser<br>
306 <!-- #BeginDate format:fcAm1m -->Sunday, February 16, 2020 15:05<!-- #EndDate -->