none
warning C4635: XML document comment applied to CMFCToolBarImages.SmoothResize(System.Double)': badly-formed XML

    Question

  • 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
    1>c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxtoolbarimages.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.
    1>  
    1>c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxribbonbar.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.
    1>  
    1>c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxribbonbar.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.
    1>  
    1>c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxribbonbar.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.
    1>  
    1>c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxribboncategory.h(235): warning C4635: XML document comment applied to 'CMFCRibbonCategory.OnKey(System.UInt32)': badly-formed XML: The following tags were not closed: summary.
    1>  
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:03.82
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


    Wednesday, March 14, 2012 7:39 AM

Answers

All replies