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

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 753699 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 7/14/2012 2:08:28 AM
Access Restriction Public

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;
}
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:32 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
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)