Scope of Symbols in an enum Declaration
In MIDL, the scope of symbols in an enum is global with MIDL, as it is in C. In the following example, MIDL will generate a duplicate name error:
typedef struct { ... } a;
enum {a=1, b=2, c=3};
Ta przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
In MIDL, the scope of symbols in an enum is global with MIDL, as it is in C. In the following example, MIDL will generate a duplicate name error:
typedef struct { ... } a;
enum {a=1, b=2, c=3};