Visual C++: Compiler Crash with Nested Lambdas and Auto Keyword - by Timothy003

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.

Sign in
to vote
ID 539810 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 3/6/2010 11:56:56 AM
Access Restriction Public


The C++ compiler crashes when compiling the following code.
Sign in to post a comment.
Posted by Michael Kupchuk on 3/13/2011 at 4:59 AM
I think, I'm facing the same bug but with slightly different code (or is it another problem?):
void foo()
struct A { };
auto l = [](){ A* pa; };

int _tmain(int argc, _TCHAR* argv[])
    return 0;

Just installed VS2010 SP1 but compiler still crashes.
Is it supposed to be fixed in SP1?
Posted by Microsoft on 4/26/2010 at 8:24 AM
Hi: a fix for this issue has been checked into the compiler sources. The fix should show up in a future release of Visual C++.

Jonathan Caves
Visual C++ Compiler Team
Posted by Microsoft on 3/7/2010 at 6:53 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you