|
此帖出自嵌入式系统论坛
最新回复
The use of a __bit bool variable in a switch statement generates the internal error: Internal Error: [CoreUtil/General]: Illegal state. Workaround: Instead of bool switch variables use char variables, or even better rewrite the switch statement to an if-then-else statement:
if(bool == 0)
{
// case 0:
}
else if(bool == 1)
{
// case 1:
}
查了一下,IAR官方给出这么个说法
详情
回复
发表于 2010-6-23 10:14
| ||
|
||
| |
|
|
此帖出自嵌入式系统论坛
| ||
|
||
EEWorld Datasheet 技术支持