From: "Gwen" Subject: How to use Pdcurses 2.04 with GPP ? Newsgroups: comp.os.msdos.djgpp Message-ID: <01c11811$63766a20$108784d5@feta> X-Newsreader: Microsoft Internet News 4.70.1162 Lines: 23 Date: Sun, 29 Jul 2001 09:25:06 GMT NNTP-Posting-Host: 213.132.135.16 X-Complaints-To: abuse AT chello DOT be X-Trace: news.chello.be 996398706 213.132.135.16 (Sun, 29 Jul 2001 11:25:06 MET DST) NNTP-Posting-Date: Sun, 29 Jul 2001 11:25:06 MET DST Organization: Chello Usenet Service To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi ! I've just installed DJGPP and PDcurses (wich seems a great library), it works fine with GCC but not with GPP, ex : (test1.c) int main(void){ initscr(); start_color(); return 0; } with gcc : gcc -o test1.exe test1.c ..\bin\libpdcurses.a it works with gpp (I rename test1.c to test1.cpp) : gpp -o test1.exe test1.cpp .\bin\libpdcurses.a it says me : "implicit declaration of function 'initscr(...)'' " ( and idem for start_color() ) so what's wrong ? Gwen