🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #947

g++ 2.2.2 install problem with SCO.

#947
From: Ryan Ridges
Date: Fri, 11 Sep 1992 15:49
81 lines
5460 bytes
This is for a friend that does not have news, but has email, please send e-mail to him not me.

I have an SCO 3.2.4 w/ 3.2.4 Dev and gcc 2.2.2.  I'm trying to install 
libg++ 2.2.2 and I get the follow errors with CursesW.cc:

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[2]: *** [CursesW.o] Error 1
gmake[1]: *** [in-src] Error 1
gmake: *** [all-libg++] Error 1


If you need any other information, please mail me, or if you have a solution 
please mail me.

Thanks,

uunet!cbs!egan
upl.com!neb!cbs!egan
Technical Details
Message-ID: <1992Sep11.154915.25105@fcom.cc.utah.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cadehp7.eng.utah.edu!ridges

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cadehp7.eng.utah.edu!ridges
From: ridges@cadehp7.eng.utah.edu (Ryan Ridges)
Subject: g++ 2.2.2 install problem with SCO.
Message-ID: <1992Sep11.154915.25105@fcom.cc.utah.edu>
Keywords: g++ gnu sco
Sender: gnulists@ai.mit.edu
Organization: University of Utah CS Dept
Distribution: gnu
Date: Fri, 11 Sep 1992 15:49:15 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 85