|
Boost Users : |
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-11-22 14:26:03
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.
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net