|
Boost Users : |
From: Paul Mensonides (yg-boost-users_at_[hidden])
Date: 2002-11-14 17:46:59
"Christopher Currie" <Christopher_at_[hidden]> wrote in message
news:20021114201347.7928.qmail_at_mail.westofhouse.net...
> No, the Sun preprocessor bug is similar, but only applies when a macro
> name
> is used as an argument to another macro. Thus:
>
> #define A(args) args
> #define B()
>
> A(B C) // ?
>
> should yield:
>
> B C
>
> but in fact produces
>
> BC
>
> Sun has acknowledged the bug (Bug id 4763527). Oddly enough, the _C_
> preprocessor does not have this bug.
>
> Christopher
Thanks Christopher, oddly enough, Borland's command line preprocessor
doesn't have the problem that I mentioned before either. In any case, the
Borland configuration of the PP lib avoids ever putting an identifier that
refers to a macro in front of anything but the parameters they expand
against, so the Borland config should work fine.
Thanks again for the info,
Paul Mensonides
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