The ## macro operator doesn\t work in the ARM compiler 6
for example, the following code can be compiled well using ARM
compiler 5.06: However, it does not work with ARM compiler 6
#define FilterSOSStructDefine(n) typedef struct{unsigned int
Coeff[##n##][6];unsigned int HistoryX[##n##][2];}sFilterSOS##n
FilterSOSStructDefine(2);
FilterSOSStructDefine(3);
↧