Search

C++/CLI compiler crashes when attempting to compile event System::EventHandler<>; by MadBadger

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 640281
Opened: 1/29/2011 7:42:38 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I got a message "C/C++ Optimizing Compiler has stopped working" when I tried to compile a class that contained a line

event System::EventHandler<>;

Problem signature:
Problem Event Name:    APPCRASH
Application Name:    CL.exe
Application Version:    16.0.30319.1
Application Timestamp:    4ba1dc05
Fault Module Name:    c1xx.dll
Fault Module Version:    16.0.30319.1
Fault Module Timestamp:    4ba1dc95
Exception Code:    c0000005
Exception Offset:    000b402f
OS Version:    6.1.7600.2.0.0.256.48
Locale ID:    1045

I can provide sample minimal project that demonstrates the issue.
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

Reliability

Steps to reproduce

1. Create a new C++/CLI console app
2. Add a class
3. Add the line System::EventHandler<>; to .h file
4. Compile

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

Compiler crash

Expected results

No compiler crash
File Attachments
File Name Submitted By Submitted On File Size  
Handler.rar 1/29/2011 5 KB
Sign in to post a comment.
Posted by Microsoft on 2/22/2011 at 2:52 PM
Hi,

Thanks for reporting this issue. We've successfully reproduced it and are actively fixing it. The fix should be included in our next deliverable.

Best regards,
Smile Wei
VC++ FrontEnd Team
Posted by Microsoft on 1/29/2011 at 8:14 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.