Home > Back-end >  Redefine the struct type
Redefine the struct type

Time:09-24

#include
using namespace std;

Struct stBaseCmd998
{
The union
{
Struct
{
BYTE CMD.
BYTE subcmd;
};
WORD _value;
};
};


VS2012
\ Cmd. H (5) : error C2011: "stBaseCmd998" : "struct" type redefine
Cmd. H (5) : see "stBaseCmd998 statement
"
Look not to understand, look not to understand, look not to understand

CodePudding user response:

It is the relationship between the reference file is wrong
  • Related