expected unqualified-id before ‘int’这个错误怎么解决阿

raining0103 2007-11-19 04:38:50
/usr/lib/qt-3.3/include/qnamespace.h:981: 错误:expected unqualified-id before ‘int’
/usr/lib/qt-3.3/include/qnamespace.h:981: 错误:expected ‘;’ before ‘int’
/usr/lib/qt-3.3/include/qpaintdevice.h:98: 错误:expected unqualified-id before ‘int’
/usr/lib/qt-3.3/include/qpaintdevice.h:99: 错误:expected unqualified-id before ‘int’
/usr/lib/qt-3.3/include/qpaintdevice.h:111: 错误:expected unqualified-id before ‘int’
可是发现报错的地方是 typedef unsigned long *HANDLE;,这是系统自己定义的,没什么错误阿 其他的也是这样的,都是在系统文件中报错,怎么办阿各位大虾们?
我用的是kdevelop 3.3.1
...全文
7988 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
happybirdyuan 2012-04-24
  • 打赏
  • 举报
回复 1
看看是不是分号的问题,不一定是这儿的
http://qiuye.iteye.com/blog/789844
IT女程序员Lyra 2011-04-27
  • 打赏
  • 举报
回复
包含头文件的位置问题,#include <stdlib>放在前面就好了
NKLoveRene 2007-11-20
  • 打赏
  • 举报
回复
是不是lib没有写清楚
mymtom 2007-11-20
  • 打赏
  • 举报
回复
楼主是不是没有#include正确的header文件?

23,121

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧