"Christopher Currie"
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