ATL Attribute Provider Warning ATL4001

Message Text

Cannot inject full attribute code due to duplicate member: member

Severity

This is a level 3 warning.

Example

For example, compile

#define     _ATL_ATTRIBUTES
#include    <atlbase.h>
#include    <atlcom.h>

[
    coclass, uuid ("00000000-0000-0000-0000-000000000000")
]
class Test
{
    int GetProgID;
};                              // C4199 (from ATL4001)

Note that the whole warning message from the example is

TEST.CPP(12) : warning C4199: Cannot inject full attribute code due to duplicate member: GetProgID

with no mention of ATL4001 as the warning number.