Export (0) Print
Expand All

XDCMake Warning XDC0011

Appending new XML tag content to existing: text

Documentation comments were placed both on the definition (decl="false") and declaration (decl="true") of a member. For some tags, xdcmake.exe will combine the text if multiple tags are found. This warning indicates that the text of the two comments is being merged.

The document comment on the definition is processed into the .xml file before the document comment on the declaration.

For more information, see XDCMake.

The following sample generates XDC0011:

// xdc0011_a.xdc
<doc>
<members>
<member name="T:MyClass" decl="true" source="c:\test1.cpp" line="6">
        <summary>This is text in TEST1.CPP</summary>
</member>
</members>
</doc>

and then,

// xdc0011_b.xdc
// compile with: xdc0011_a.xdc xdc0011_b.xdc
// XDC0011 expected
<?xml version="1.0"?>
<doc>
<members>
<member name="T:MyClass" decl="false" source="c:\test2.cpp" line="6">
        <summary>This is text in TEST2.CPP</summary>
</member>
</members>
</doc>

Community Additions

ADD
Show:
© 2014 Microsoft