原创 【转载】a label can only be part of a statement and a declaration is not a statement

2012-5-9 17:42 3007 14 14 分类: 软件与OS

GCC:

error: a label can only be part of a statement and a declaration is not a statement

 

switch(a){        swtch(a){

case 1:         case 1:

....................       {

....................        ...............

....................        ...............

break;          ................

case 2:         }

break;          break;

}            case 2:

             break;

            }

Error         OK

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
14
关闭 站长推荐上一条 /3 下一条