declaration of 'xxx' shadows a global declaration ,shadowed declaration is here ,expected declaration or statement at end of input

作者:fly 发布于:2014-2-26 9:31 分类:嵌入式

版权声明:本文系www.forwhat.cn原创 ,尊重作者劳动,转载请标明出处。本文转载自www.forwhat.cn谢谢

今天编译程序突然出现如下错误。以前都是能正常编译,没有问题的啊。

declaration of 'xxx' shadows a global declaration

shadowed declaration is here

expected declaration or statement at end of input

1111111.JPG

 

解决方法:

好吧,我承认我错了,上边一个switch的括号没有关闭导致的。

发表评论:

 
Powered by emlog sitemap