Home Dashboard Directory Help
Search

C++ compiler crashes instead of returning error for simple erroneous C++ code by 666KoD666


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 753699
Opened: 7/14/2012 2:08:28 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

C++ code (which contains small error) causes C++ compiler to crash:

template <typename _retType>
    void Function(_retType (*func)(...))
{
}

int main()
{
    Function<void>(&Function);

    return 0;
}
Details
Sign in to post a comment.
Posted by Microsoft on 11/19/2012 at 2:49 PM
Hi:
    Thanks for reporting the issue.

    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.
Posted by Microsoft on 7/16/2012 at 12:11 AM
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 Microsoft on 7/15/2012 at 7:39 PM
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.