Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: The ## macro operator doesn\t work in the ARM compiler 6

$
0
0
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);

Viewing all articles
Browse latest Browse all 3049

Trending Articles