Home Dashboard Directory Help
Search

VC++ 2010 Compiler Crash when using properties (__declspec(property..) and /doc option by Do Django


Status: 

Closed
 as Fixed Help for as Fixed


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

Description

Hi all,

the visual C++ compiler crashes when using /doc option to generate XML documentation and adding comments to C++ properties.

Output:

1>------ Build started: Project: XMLDocCrash, Configuration: Debug Win32 ------
1> XMLDocCrash.cpp
1>c:\users\XXX\documents\visual studio 2010\projects\xmldoccrash\xmldoccrash\xmldoccrash.cpp(49): fatal error C1001: An internal error has occurred in the compiler.
1> (compiler file 'msc1.cpp', line 1420)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Build Summary
-------------
00:01.122 - Failed - Debug Win32 - XMLDocCrash\XMLDocCrash.vcxproj

Total build time: 00:01.139

========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========


I will attach a sample project.

In the project I followed theese instructions:
properties - http://msdn.microsoft.com/en-us/library/yhfk0thd(v=VS.100).aspx
/doc - http://msdn.microsoft.com/en-us/library/ms173501.aspx
Details
Sign in to post a comment.
Posted by Do Django on 9/21/2011 at 1:20 PM
Thanks!
Posted by Microsoft on 9/20/2011 at 3:19 PM
Hi: this issue has been fixed. The fix should show up in a future release of Visual C++.

Thank you for reporting the issue.

Jonathan Caves
Visual C++ Compiler Team
Posted by MS-Moderator09 [Feedback Moderator] on 9/11/2011 at 8:13 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 9/11/2011 at 1:40 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)
Posted by Do Django on 9/11/2011 at 1:36 AM
The compiler will also crash if the comment starts with /**.
Btw, why do the comments not appear in the object browser?
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
XMLDocCrash.zip 9/11/2011 687 KB