From: egan@caeco.mentorg.COM (Egan F. Ford)
Subject: help installing g++ on sco
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 17 Aug 1992 17:34:45 GMT

I need help with libg++ installation on a SCO 3.2v4 w/ gcc-2.2.2.
Everything compiles without error until CursesW.cc.

Could you please help.

Error messages.

gcc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c CursesW.cc
In file included from ./CursesW.h:26, from CursesW.cc:30:
./../g++-include/curses.h:35: parse error before `_c3'
./../g++-include/curses.h:36: parse error before `_c3'
./../g++-include/curses.h:72: conflicting types for `int  wprintw (struct _win_st*, ...)'
/usr/include/tinfo.h:253: previous declaration of `int  wprintw (struct _win_st*, char *, ...)'
./../g++-include/curses.h:73: conflicting types for `int  mvwprintw (struct _win_st*, int, int, ...)'
/usr/include/tinfo.h:221: previous declaration of `int  mvwprintw (struct _win_st*, int, int, char *, ...)'
./../g++-include/curses.h:74: conflicting types for `int  wscanw (struct _win_st*, ...)'
/usr/include/tinfo.h:256: previous declaration of `int  wscanw (struct _win_st*, char *, ...)'
./../g++-include/curses.h:75: conflicting types for `int  mvwscanw (struct _win_st*, int, int, ...)'
/usr/include/tinfo.h:222: 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:137: conflicting types for `int  mvwaddch (struct _win_st*, int, int, char)'
/usr/include/tinfo.h:219: previous declaration of `int  mvwaddch (struct _win_st*, int, int)'
./CursesW.h: At top level:
./CursesW.h:228: parse error before `_c3'
./CursesW.h:228: syntax error before `,'
./CursesW.h:231: parse error before `int'
./CursesW.h:231: parse error before `;'
./CursesW.h:234: parse error before `_c3'
./CursesW.h:234: syntax error before `,'
./CursesW.h:237: parse error before `int'
./CursesW.h:238: parse error before `char'
./CursesW.h:238: parse error before character constant
./CursesW.h:238: parse error before `)'
./CursesW.h:245: parse error before `_c3'
./CursesW.h:326: warning: inline declaration ignored for function with `...'
./CursesW.h:331: warning: inline declaration ignored for function with `...'
./CursesW.h:336: warning: inline declaration ignored for function with `...'
./CursesW.h:341: warning: inline declaration ignored for function with `...'
./CursesW.h:346: warning: inline declaration ignored for function with `...'
./CursesW.h:351: warning: inline declaration ignored for function with `...'
./CursesW.h:371: warning: inline declaration ignored for function with `...'
./CursesW.h:377: warning: inline declaration ignored for function with `...'
./CursesW.h:394: warning: inline declaration ignored for function with `...'
./CursesW.h:399: warning: inline declaration ignored for function with `...'
./CursesW.h:404: warning: inline declaration ignored for function with `...'
./CursesW.h:409: warning: inline declaration ignored for function with `...'
./CursesW.h:414: warning: inline declaration ignored for function with `...'
./CursesW.h:419: warning: inline declaration ignored for function with `...'
./CursesW.h:424: warning: inline declaration ignored for function with `...'
./CursesW.h:434: warning: inline declaration ignored for function with `...'
./CursesW.h:444: warning: inline declaration ignored for function with `...'
./CursesW.h:495: warning: inline declaration ignored for function with `...'
./CursesW.h:527: warning: inline declaration ignored for function with `...'
./CursesW.h:532: warning: inline declaration ignored for function with `...'
./CursesW.h:536: parse error before `->'
./CursesW.h:542: argument list for `cols' does not match any in class
./CursesW.h:547: argument list for `child' does not match any in class
./CursesW.h:552: argument list for `parent' does not match any in class
./CursesW.h:557: argument list for `sibling' does not match any in class
CursesW.cc:168: parse error before `_c3'
CursesW.cc:169: argument list for `CursesWindow' does not match any in class
CursesW.cc: In method `CursesWindow::CursesWindow (...)':
CursesW.cc:173: `begin_y' undeclared (first use this function)
CursesW.cc:173: (Each undeclared identifier is reported only once
CursesW.cc:173: for each function it appears in.)
CursesW.cc:173: `begin_x' undeclared (first use this function)
CursesW.cc:173: warning: passing pointer to integer argument 2 of `struct _win_st* newwin (int, int, int, int)' lacks a cast
CursesW.cc: At top level:
CursesW.cc:197: argument list for `CursesWindow' does not match any in class
CursesW.cc:228: argument list for `kill_subwindows' does not match any in class
gmake[1]: *** [CursesW.o] Error 1
gmake: *** [in-src] Error 1


Thanks.
-- 
Egan F. Ford
cbs!egan          ...hellgate.utah.edu!caeco!neb!cbs!egan


Newsgroups: gnu.g++.lib.bug