🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42767

Lib-g++ build failure: GCC 2.7.0 on Irix 5.2

#42767
From: Steve Johns
Date: Thu, 19 Oct 1995 00:00
31 lines
2263 bytes
I get the following error when trying to compile libg++-2.7.0a using
gcc 2.7.0 on an SGI IRIX 5.2 platform.  (The gcc itself built without errors)

gcc -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++ builtinbuf.cc
cc1plus: warning: `-g' option not supported on this version of GCC
./streambuf.h: In method `int streambuf::sputc(int)':
In file included from builtinbuf.h:32,
                 from builtinbuf.cc:29:
./streambuf.h:379: non-lvalue in unary `&'
./streambuf.h:379: parse error before `)'
./streambuf.h: At top level:
./streambuf.h:449: warning: implicit declaration of function `int init(...)'
./streambuf.h:449: parse error before `*'
./streambuf.h:450: warning: ANSI C++ forbids declaration `_exceptions' with no type or storage class
./streambuf.h:451: warning: ANSI C++ forbids declaration `_strbuf' with no type or storage class
./streambuf.h:451: `sb' was not declared in this scope
./streambuf.h:451: warning: ANSI C++ forbids declaration `_tie' with no type or storage class
./streambuf.h:451: `tie_to' was not declared in this scope
./streambuf.h:451: warning: ANSI C++ forbids declaration `_width' with no type or storage class
./streambuf.h:451: warning: ANSI C++ forbids declaration `_fill' with no type or storage class
./streambuf.h:453: warning: ANSI C++ forbids declaration `_flags' with no type or storage class
./streambuf.h:457: warning: ANSI C++ forbids declaration `_precision' with no type or storage class
./streambuf.h:457: warning: ANSI C++ forbids declaration `_arrays' with no type or storage class
./streambuf.h:457: parse error before `}'
make[1]: *** [builtinbuf.o] Error 1
make[1]: Leaving directory `/usr3/local/libg++-2.7.0/libio'
make: *** [all-libio] Error 2


Can anyone tell me what is going on and if there is a fix for this?
Thanks.
Technical Details
Message-ID: <JOHNS.95Oct19132730@adwyer.stx.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9991a74b386d8a30,start
X-Google-Attributes: gid11318c,public
From: johns@adwyer.stx.com (Steve Johns)
Subject: Lib-g++ build failure: GCC 2.7.0 on Irix 5.2
Date: 1995/10/19
Message-ID: <JOHNS.95Oct19132730@adwyer.stx.com>
X-Deja-AN: 117804767
distribution: local, usa
organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
newsgroups: gnu.gcc.help