Article View: gnu.g++.lib.bug
Article #409Problems with libg++-2.3 compilation under SCO Open DeskTop 2.0
From: FIORUCCI Jean-Louis
Date: Mon, 04 Jan 1993 14:01
Date: Mon, 04 Jan 1993 14:01
101 lines
6348 bytes
6348 bytes
I have small problems compiling libg++-2.3 under SCO Open DeskTop 2.0 (Unix 3.2.v4). I have already compile gcc-2.3.2 perfectly without problems, but I have got these messages when compiling. Could you please help me reparing these problems. I have done to compile : configure i386-sco vi Makefile tooldir=$(libdir)/i386-sco ---> tooldir=$(libdir)/gcc-lib/i386-sco make at the compilation of Curses.W : all these problems appears. Thanks in advance for any help JL -------------------------------------- In file included from ./CursesW.h:26, from CursesW.cc:30: ./../g++-include/curses.h:40: parse error before `_c3' ./../g++-include/curses.h:41: parse error before `_c3' ./../g++-include/curses.h:77: conflicting types for `int wprintw (struct _win_st*, ...)' /usr/include/tinfo.h:254: previous declaration of `int wprintw (struct _win_st*, char *, ...)' ./../g++-include/curses.h:78: conflicting types for `int mvwprintw (struct _win_st*, int, int, ...)' /usr/include/tinfo.h:222: previous declaration of `int mvwprintw (struct _win_st*, int, int, char *, ...)' ./../g++-include/curses.h:79: conflicting types for `int wscanw (struct _win_st*, ...)' /usr/include/tinfo.h:257: previous declaration of `int wscanw (struct _win_st*, char *, ...)' ./../g++-include/curses.h:80: conflicting types for `int mvwscanw (struct _win_st*, int, int, ...)' /usr/include/tinfo.h:223: previous declaration of `int mvwscanw (struct _win_st*, int, int, char *, ...)' ./CursesW.h: In function `int mvwaddch (struct _win_st*, int, int, char)': In file included from CursesW.cc:30: ./CursesW.h:139: conflicting types for `int mvwaddch (struct _win_st*, int, int, char)' /usr/include/tinfo.h:220: previous declaration of `int mvwaddch (struct _win_st*, int, int)' ./CursesW.h: At top level: ./CursesW.h:230: parse error before `_c3' ./CursesW.h:230: syntax error before `,' ./CursesW.h:233: parse error before `int' ./CursesW.h:233: parse error before `;' ./CursesW.h:236: parse error before `_c3' ./CursesW.h:236: syntax error before `,' ./CursesW.h:239: parse error before `int' ./CursesW.h:240: parse error before `char' ./CursesW.h:240: parse error before character constant ./CursesW.h:240: ANSI C++ forbids initialization of member `absrel' ./CursesW.h:240: parse error before `)' ./CursesW.h:247: parse error before `_c3' ./CursesW.h:328: warning: inline declaration ignored for function with `...' ./CursesW.h:333: warning: inline declaration ignored for function with `...' ./CursesW.h:338: warning: inline declaration ignored for function with `...' ./CursesW.h:343: warning: inline declaration ignored for function with `...' ./CursesW.h:348: warning: inline declaration ignored for function with `...' ./CursesW.h:353: warning: inline declaration ignored for function with `...' ./CursesW.h:373: warning: inline declaration ignored for function with `...' ./CursesW.h:379: warning: inline declaration ignored for function with `...' ./CursesW.h:396: warning: inline declaration ignored for function with `...' ./CursesW.h:401: warning: inline declaration ignored for function with `...' ./CursesW.h:406: warning: inline declaration ignored for function with `...' ./CursesW.h:411: warning: inline declaration ignored for function with `...' ./CursesW.h:416: warning: inline declaration ignored for function with `...' ./CursesW.h:421: warning: inline declaration ignored for function with `...' ./CursesW.h:426: warning: inline declaration ignored for function with `...' ./CursesW.h:436: warning: inline declaration ignored for function with `...' ./CursesW.h:446: warning: inline declaration ignored for function with `...' ./CursesW.h:497: warning: inline declaration ignored for function with `...' ./CursesW.h:529: warning: inline declaration ignored for function with `...' ./CursesW.h:534: warning: inline declaration ignored for function with `...' ./CursesW.h:538: parse error before `->' ./CursesW.h:544: argument list for `cols' does not match any in class ./CursesW.h:549: argument list for `child' does not match any in class ./CursesW.h:554: argument list for `parent' does not match any in class ./CursesW.h:559: argument list for `sibling' does not match any in class CursesW.cc: In method `int CursesWindow::scanw (const char *, ...)': CursesW.cc:51: warning: ANSI C++ forbids implicit conversion from `void *' in assignment CursesW.cc: In method `int CursesWindow::mvscanw (int, int, const char *, ...)': CursesW.cc:82: warning: ANSI C++ forbids implicit conversion from `void *' in assignment CursesW.cc: In method `int CursesWindow::printw (const char *, ...)': CursesW.cc:117: warning: ANSI C++ forbids implicit conversion from `void *' in assignment CursesW.cc: In method `int CursesWindow::mvprintw (int, int, const char *, ...)': CursesW.cc:143: warning: ANSI C++ forbids implicit conversion from `void *' in assignment CursesW.cc: At top level: CursesW.cc:170: parse error before `_c3' CursesW.cc:171: argument list for `CursesWindow' does not match any in class CursesW.cc: In method `CursesWindow::CursesWindow (...)': CursesW.cc:175: `begin_y' undeclared (first use this function) CursesW.cc:175: (Each undeclared identifier is reported only once CursesW.cc:175: for each function it appears in.) CursesW.cc:175: `begin_x' undeclared (first use this function) CursesW.cc:175: warning: passing pointer to integer argument 2 of `struct _win_st* newwin (int, int, int, int)' lacks a cast ./../g++-include/curses.h:40: too few arguments to function `struct _win_st* newwin (int, int, int, int)' CursesW.cc:175: at this point in file CursesW.cc: At top level: CursesW.cc:199: argument list for `CursesWindow' does not match any in class CursesW.cc:230: argument list for `kill_subwindows' does not match any in class Stop. Stop.
Technical Details
Message-ID:
<9301041201.AA19018@taloa.unice.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!taloa.unice.fr!fiorucciShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!taloa.unice.fr!fiorucci From: fiorucci@taloa.unice.fr (FIORUCCI Jean-Louis) Subject: Problems with libg++-2.3 compilation under SCO Open DeskTop 2.0 Message-ID: <9301041201.AA19018@taloa.unice.fr> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 4 Jan 1993 14:01:58 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 103