Home Dashboard Directory Help

Incorrect XML in MFC header files causes compiler warnings by VoiceOfExperience


 as Fixed Help for as Fixed

Sign in
to vote
Type: Bug
ID: 731201
Opened: 3/14/2012 10:12:26 AM
Access Restriction: Public
User(s) can reproduce this bug


Several of the MFC header files, included when building a native C++ MFC static project, have XML errors. These lead to warning messages when compiling.

The errors are I found are

Line 220 of afxtoolbarimages.h
Lines 141,148,155 of afxribbonbar.h
Line 236 of afxribboncategory.h

From the forums, there are several more. MS needs to run all the headers through the compiler or other XML checker.

Sign in to post a comment.
Posted by Microsoft on 5/11/2012 at 11:10 AM
Hello Voice,

Thanks for the report. While a number of XML warnings had been fixed since Visual Studio 2010 was released, I did find a couple more warnings, which I have fixed for Visual Studio 11 RTM.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 5/9/2012 at 11:47 PM
Thank you for submitting feedback on Visual Studio 11 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 3/14/2012 at 10:53 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.