#include 就报错...不知道是什么问题....高人指点一下

milkbottle 2004-03-05 06:16:33
服务器是unix
编译器是g++
但是一include curses.h就出错....
比如 #include <curses.h>
main()
{
}
报错....

In file included from /usr/include/curses.h:23,
from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/curses.h:5,
from testc.cpp:1:
/usr/include/widec.h:38: warning: `getwc' redefined
/usr/include/iso/wchar_iso.h:337: warning: this is the location of the previous definition
/usr/include/widec.h:39: warning: `putwc' redefined
/usr/include/iso/wchar_iso.h:340: warning: this is the location of the previous definition
/usr/include/widec.h:40: warning: `getwchar' redefined
/usr/include/iso/wchar_iso.h:338: warning: this is the location of the previous definition
/usr/include/widec.h:41: warning: `putwchar' redefined
/usr/include/iso/wchar_iso.h:341: warning: this is the location of the previous definition
...全文
198 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复

还没有回复,快来抢沙发~

相关推荐
发帖
工具平台和程序库
创建于2007-09-28

2.4w+

社区成员

C/C++ 工具平台和程序库
申请成为版主
帖子事件
创建了帖子
2004-03-05 06:16
社区公告
暂无公告