union
{
UINT8 chardata[4];
UINT16 intdata[2];
UINT32 longdata[1];
}ID;在主程序中定义
外部引用
extern union
{
UINT8 chardata[4];
UINT16 intdata[2];
UINT32 longdata[1];
}ID;
编译不成功
error: #147: declaration is incompatible with "union <unnamed> ID" (declared at line 13 of "USER_CODE\myvrb.h") |
|