Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
enum enum member member=value already seen in enum enum as member=value
Remarks
If a .tlb that you pass to #import has the same symbol defined in two or more enums, this warning indicates that subsequent identical symbols are ignored and will be commented out in the .tlh file.
Example
Assuming a .tlb that contains:
library MyLib
{
typedef enum {
enumMember = 512
} AProblem;
typedef enum {
enumMember = 1024
} BProblem;
};
the following example generates C4920,
// C4920.cpp
// compile with: /W1
#import "t4920.tlb" // C4920
int main() {
}