文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>error: expected ‘=’, ‘,’, ‘;’, 解决方法

error: expected ‘=’, ‘,’, ‘;’, 解决方法

时间:2009-07-26  来源:tancotq

编译程序的时候老是出现以下错误, [root@localhost process]# gcc daemon.c -o daemon
daemon.c: In function ‘init_daemon’:
daemon.c:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
daemon.c:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
daemon.c:56: error: expected ‘{’ at end of input
  网上查了很久也没有找到解决方法,看了N遍,原来是函数声明时没有加 ; !!!!!!!!!!!!!!   写程序时要记得加 ; 号啊!!!!!!!!!!!!
相关阅读 更多 +
排行榜 更多 +
终极街头格斗

终极街头格斗

休闲益智 下载
大炮轰飞机

大炮轰飞机

飞行射击 下载
像素打僵尸

像素打僵尸

飞行射击 下载