EDN Admin
Well-known member
When I build my small native C++ file with VS2010 SP1, I get mysterious compiler errors. I have no idea what these mean. I am not using XML, nor ribbon controls. The pgm is a class implementation with constructor, destructor, and two public functions.
1> MyPgm.cpp<br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxtoolbarimages.h(217): warning C4635: XML document comment applied to CMFCToolBarImages.SmoothResize(System.Double): badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(139): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromResource(System.UInt32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,HINSTANCE__*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(146): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromResource(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,HINSTANCE__*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(153): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromBuffer(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribboncategory.h(235): warning C4635: XML document comment applied to CMFCRibbonCategory.OnKey(System.UInt32): badly-formed XML: The following tags were not closed: summary.<br/>
1> <br/>
1><br/>
1>Build succeeded.<br/>
1><br/>
1>Time Elapsed 00:00:03.82<br/>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========<br/>
<br/>
View the full article
1> MyPgm.cpp<br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxtoolbarimages.h(217): warning C4635: XML document comment applied to CMFCToolBarImages.SmoothResize(System.Double): badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(139): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromResource(System.UInt32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,HINSTANCE__*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(146): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromResource(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,HINSTANCE__*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribbonbar.h(153): warning C4635: XML document comment applied to CMFCRibbonBar.LoadFromBuffer(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*):
badly-formed XML: Only one top level element is allowed in an XML document.<br/>
1> <br/>
1>crogram filesmicrosoft visual studio 10.0vcatlmfcincludeafxribboncategory.h(235): warning C4635: XML document comment applied to CMFCRibbonCategory.OnKey(System.UInt32): badly-formed XML: The following tags were not closed: summary.<br/>
1> <br/>
1><br/>
1>Build succeeded.<br/>
1><br/>
1>Time Elapsed 00:00:03.82<br/>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========<br/>
<br/>
View the full article