Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-06 15:03:11


Hartmut Kaiser wrote

> > Is there an option to direct the output into *.i files
> > instead of stdout? I currently do it with -o option just that
> > .i file seems to be default for most other C++ preprocessors.
> > Getting slightly bored to type twice.
>
>;-)
>
>The answer is no. But nothing prevents you from changing the wave driver
>and
>add a -E option (or something similar) which instructs wave to always
>output
>the preprocessed tokens to a file names *.i. But if this is of general
>interest I can do that as well, it's not terribly difficult to implement in
>the end.

This might be useful to have, especially if/when BBv2 adds preprocessor
support that allows you to specify a different preprocessor to the compiler
being used, so you could compile using wave as the PP and VC as the
compiler.

- Reece


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk