#include 就报错...不知道是什么问题....高人指点一下
服务器是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
编译器是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
...全文
相关推荐
#include <malloc.h>
#include <stdio.h>#include <malloc.h> struct DATA{ int ID; char name[4]; char sex[3]; int score;};
#include
#include <stdio.h>#include <malloc.h> struct DATA{ int ID; char name[4]; char sex[3]; int score;};
#include <iom16v.h>
#include <iom16v.h>#include <macros.h>#define RS_0 PORTD &= ~(1 << PD3)#define RS_1 PORTD |= (
SeqList.h #include <stdio.h> //包含标准输入输出流的头文件 #include <assert.h
顺序表的基本操作代码SeqList.h#include <stdio.h> //包含标准输入输出流的头文件#include <assert.h> //包含断言的头文件#include <stdlib.
visual studio中若要使用#include <bits/stdc++.h>,需手动添加头文件:stdc++.h
visual studio中,若要使用#include <bits/stdc++.h>,则需手动添加头文件:stdc++.h,visual studio不自带,#include <bits/stdc+


工具平台和程序库
