Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-06-27 06:21:28


On 06/27/2011 11:48 AM, Olaf van der Spek wrote:
> On Mon, Jun 27, 2011 at 1:13 AM, Paul Mensonides<pmenso57_at_[hidden]> wrote:
>> That aside, if broken preprocessors are taken off the table (i.e.
>> abandoning VC++ as a supported compiler or using a different
>
> Is this true for all versions?

Yes.

Its variadic macro support is completely broken, but interestingly
enough it is still possible to do a few things with it if you're willing
to put MSVC-specific hacks everywhere.

> If so, is there a MS connect issue we could vote on for a better preprocessor?

The main bug appears to be present three times in the database, twice as
won't fix, and one that appeared just last month.

http://connect.microsoft.com/VisualStudio/feedback/details/380090/variadic-macro-replacement

http://connect.microsoft.com/VisualStudio/feedback/details/521844/variadic-macro-treating-va-args-as-a-single-parameter-for-other-macros

http://connect.microsoft.com/VisualStudio/feedback/details/676585/bug-in-cl-c-compiler-in-correct-expansion-of-va-args


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