struct TODAY_BIT {
Uint16 MORNING:16;
Uint16 AFTERNOON:16;
};
union TODAY_REG{
Uint32 all;
struct TODAY_BIT bit;
};
我在头文件里写了上述两组结构,然后出现了如下的报错:
Description Resource Path Location Type
"TODAY_BIT" has already been declared in the current scope ECAN_T&R.h /BasedOnCan_M3_2_Eyior line 44 C/C++ Problem
Description Resource Path Location Type
"TODAY_BIT" has already been declared in the current scope ECAN_T&R.h /BasedOnCan_M3_2_Eyior line 44 C/C++ Problem
***************************************************************************************************************************************************
分割线
***************************************************************************************************************************************************
<