Home Dashboard Directory Help
Search

Fatal Error C1001 by ashujon


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 688106
Opened: 9/13/2011 4:52:01 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
0
User(s) can reproduce this bug

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;
}
Details
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)
Sign in to post a workaround.