wave - can line markers be suppressed?
Using the wave library is there any way to suppress line markers (#line...) in a manner similar to the '-P' option of the gcc compiler's preprocessor? Thanks, Joan The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export. An export can include a release or disclosure to a foreign national inside or outside the United States. Include this notice with any reproduced portion of this information.
Grant, Joan wrote:
Using the wave library is there any way to suppress line markers (#line...) in a manner similar to the '-P' option of the gcc compiler's preprocessor?
When using the Wave applet ($BOOST_ROOT/tools/wave) you can specify the --line=0 or -l0 command line argument. When using the Wave library in your own application you have to configure the corresponding option for the wave:.context object:
Thanks,
Joan
________________________________
The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export. An export can include a release or disclosure to a foreign national inside or outside the United States. Include this notice with any reproduced portion of this information.
Sorry, mail got send prematurely... Grant, Joan wrote:
Using the wave library is there any way to suppress line markers (#line...) in a manner similar to the '-P' option of the gcc compiler's preprocessor?
When using the Wave applet ($BOOST_ROOT/tools/wave) you can specify the --line=0 or -l0 command line argument. When using the Wave library in your own application you have to configure the corresponding option for the wave:.context object: ctx.set_language( boost::wave::enable_emit_line_directives( ctx.get_language(), false ) ); HTH Regards Hartmut
Thanks,
Joan
________________________________
The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export. An export can include a release or disclosure to a foreign national inside or outside the United States. Include this notice with any reproduced portion of this information.
participants (2)
-
Grant, Joan
-
Hartmut Kaiser