🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by atownley Sun, 13 Dec 1992 02:30
compile error for libg++2.3 on NeXT
#375
Author: 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!
Re: compile error for libg++2.3 on NeXT
#386
Author: bothner
Date: Sun, 13 Dec 1992 15:44
8 lines
731 bytes
> I am also using version 2.2.2

You can uncomment the #define of ${macro_prefix}NO_TEMPLATES
in utils/gen-params, or get a newer compiler.  (gcc-2.3.2 is out,
but has some bugs; 2.3.3 should be out soon.)

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads