|
volatile unsigned int *xy=(volatile unsigned int *)0x3401;
编译,这句话报错:
erro:"declaration may not appear after executable statement in block"
是什么地方出了问题?
#define conval 0x15
..
unsigned int a=conval;
也报这样的错.但是我直接赋值:unsigned int a=15;这就不报错了.
上面那个我直接赋值也不行.
我自己没查出来.
|
|