🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #375

compile error for libg++2.3 on NeXT

#375
From: atownley
Date: Sun, 13 Dec 1992 02:30
40 lines
1942 bytes
I just downloaded the new version of libg++2.3 from the net and went
to install it on my NeXTcube running 2.1 Extended of NeXTSTEP (3.0
has yet to arrive) and it went along fine until the compiler got to
the template stuff in iomanip.h.  I am also using version 2.2.2 of
gcc to do all the compiling.

Here is the compile messages generated:
gcc -g -O -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c  outfloat.C
gcc -g -O -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c  iomanip.C
In file included from iomanip.C:23:
iomanip.h:61: parse error before `>'
iomanip.h:63: parse error before `>'
iomanip.h:141: semicolon missing after declaration of `smanip<int>'
iomanip.h: In function `int  setbase (int)':
iomanip.h:141: aggregate value used where an integer was expected
iomanip.h: In function `class smanip<int> setfill (int)':
iomanip.h:142: warning: dbx info for template class methods not yet supported
iomanip.h: At top level:
iomanip.h:61: parse error before `>'
iomanip.h:63: parse error before `>'
iomanip.h:146: semicolon missing after declaration of `smanip<long unsigned int>
'
iomanip.h: In function `int  resetiosflags (long unsigned int)':
iomanip.h:146: aggregate value used where an integer was expected
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
Excalibur#

Does anyone have any idea what might be the problem?  I configured the
system with configure next and checked that it had the right specs.

Thanks in advance,

Andrew S. Townley
atownley@cs.umr.edu
NeXTmail welcome!
Technical Details
Message-ID: <9212130230.AA00351@next3>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mcs213k.cs.umr.edu!atownley

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mcs213k.cs.umr.edu!atownley
From: atownley@mcs213k.cs.umr.edu
Subject: compile error for libg++2.3 on NeXT
Message-ID: <9212130230.AA00351@next3>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 13 Dec 1992 02:30:42 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 41