Fatal Error C1001 - by ashujon

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 688106 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 9/13/2011 4:52:01 AM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

first:

int main()
{
	struct A { };
	auto L = []() { A *ap; }; // fatal error C1001
	return 0;
}



second:

#include <sstream>

struct __declspec(dllexport) Aoo
{
	struct __declspec(dllexport) Boo
	{
		std::wostringstream m_SStream;
	};
	Boo Foo() { return Boo(); } // fatal error C1001
};

int main()
{
	return 0;
}
Sign in to post a comment.
Posted by Microsoft on 9/14/2011 at 11:04 AM
Hi:
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.

Xiang Fan
Visual C++ Team
Posted by MS-Moderator07 [Feedback Moderator] on 9/13/2011 at 8:05 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.
Posted by MS-Moderator01 on 9/13/2011 at 5:42 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)