XDCMake Warning XDC0009
This documentation is archived and is not being maintained.

XDCMake Warning XDC0009

Error Message

Replacing existing XML tag attributes with new: text

Two .xdc files had document comments for the same member, but there were different attributes values. xdcmake.exe processed the attribute for the definition (decl="false") of the member, and discarded the attribute for the declaration (decl="true") of the member.

For more information, see XDCMake.

The following sample generates XDC0009:

// xdc0009_a.xdc
<doc>
<members>
<member name="T:MyClass" decl="true" source="c:\test1.cpp" line="6">
   <returns bogusattribute="old value">return value from TEST1.CPP</returns>
</member>
</members>
</doc>

and then,

// xdc0009_b.xdc
// compile with: xdc0009_a.xdc xdc0009_b.xdc
// XDC0009 expected
<?xml version="1.0"?>
<doc>
<members>
<member name="T:MyClass" decl="false" source="c:\test2.cpp" line="6">
   <returns bogusattribute="new value">return value from TEST1.CPP</returns>
</member>
</members>
</doc>
Show:
© 2016 Microsoft