
6 Dec
2010
6 Dec
'10
2:59 p.m.
At Mon, 6 Dec 2010 07:26:09 -0600, Hartmut Kaiser wrote:
On Dec 6, 2010, at 7:34 AM, "Hartmut Kaiser" <hartmut.kaiser@gmail.com> wrote:
What everybody is looking for is partial preprocessing, i.e. expansion of only some of the macros. Wave does not directly support this (does any preprocessor?)
Isn't that just a matter of injecting #undefs for the other macros? Perhaps an easy hack to wave…
That won't do it. You want to properly handle #ifdef's (how do you do that with #undef'ed macros?) to keep platform specific code in place.
Then "expansion of only some of the macros" doesn't really capture what you mean by "partial preprocessing." Am I missing something? -- Dave Abrahams BoostPro Computing http://www.boostpro.com