Darren New <dne### [at] san rr com> wrote:
> Warp wrote:
> > Basically, preprocessor macro expansion should never create new tokens
> > unless the token pasting operator (##) is explicitly used to do so. However,
> > Microsoft's C preprocessor doesn't take this into account at all.
> I see. I can see where that would (A) really annoy and confuse people
> expecting the standard behavior and (B) would really annoy people who relied
> on it if it got changed. :-) All the more reason to make sure stuff works
> before releasing it.
I have really hard time believing that they aren't fixing it because they
don't want to break existing programs. I can't think of a rational situation
where you would *want* the buggy behavior of the preprocessor. It can only
be used for obfuscating code (for example, you don't expect something like
"-x" to really mean "--something_else"; that would be obfuscating beyond
belief).
--
- Warp
Post a reply to this message
|