comma missing when using __VA_ARGS__ - by goldenegg

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 278752 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 5/28/2007 4:45:52 AM
Access Restriction Public

Description

I reported this bug some months ago, you said that this bug had been fixed.
But it is NOT fixed in VS2005 SP1!!

when using __VA_ARGS__, a comma in normal code may be removed by the compiler(or exactly, the preprocessor).

see the steps to reproduce this issue.
Sign in to post a comment.
Posted by Brandon [MSFT] on 5/31/2007 at 9:30 AM
This is an automated message. The issue reported in this bug has been fixed by the Visual C++ development team and will be included in the next release of Visual C++.
Posted by Jonathan [MSFT] on 5/31/2007 at 9:15 AM
Hi: this issue was originally reported too late for inclusion in Visual C++ 2005 SP1 but it has been fixed and the fix will show up in the upcoming "Orcas" release of Visual C++.

Jonathan Caves
Visual C++ Compiler Team.
Posted by Microsoft on 5/29/2007 at 2:50 AM
Thanks for your feedback. We have reproduced this bug on WinXP pro SP2 and VSTS2005 SP1, but have not reproduced this bug on Win2003 SP2 and OrcasBeta1VSTS. We are sending this bug to the appropriate group within the Visual Studio Product Team for triage and resolution. Thank you, Visual Studio Product Team.
Posted by Microsoft on 5/28/2007 at 4:58 PM
Thank you for your feedback. We are currently investigating. If this issue is urgent, please call support directly (see http://support.microsoft.com). Thank you, Visual Studio Product Team.