This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

位域 结构体



基于28335下的工程文件中

typedef unsigned short  vbittype;

typedef struct MSG_TYPE_TAG

{

vbittype  unused0  :  8;

 vbittype  unused1  :  8;

 vbittype  unused2  :  8;

 vbittype  ASCStatusHSC  :  1;

vbittype  unused2  :  3;

}

问题:警告warning:nonstandard type for a bit field,这种警告有几千个,此程序是有matlab建模得来,选择DebugMW编译

1、出现警告的原因是什么?

2、如何解决此警告,在CCS3.3编译时不显示此警告?

期待大家的回复,谢谢!