HDTenEightyP/NetNews huggingface dataset:
From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
Subject: Re: Is this Warning message correct ? (g++-2.3.2)
Organization: Computer Science, University of Melbourne, Australia
Date: Sat, 12 Dec 1992 14:57:49 GMT

andersm@colargol.edb.tih.no (Anders Myrvold) writes:

>void main(void)
[...]
>
>When I compile this with gcc-2.3.2 I get no warnings at all. 
>When I compile this with native cc I get no warnings at all.
>When I compile this with g++-2.3.2 I get:
>alpha:~# gcc c.cc
>c.cc:4: warning: return type for `main' changed to integer type

This is definitely correct. The return type for main() should be int.

(Sorry, I can't help with the other warning message.)

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!
Newsgroups: gnu.g++.help
From: honglin@apmaths.uwo.ca (HONGLIN YE)
Subject: text file
Organization: Applied Mathematics, U.W.O
Distribution: na
Date: Tue, 15 Dec 1992 16:51:48 GMT

Hi, there,
  I recently installed djgpp on my machine. It runs
  well for c but not for c++. 
  What are those files in docs sub directory for?
  How to read those files (textinfo.tex, cpp.tex & gcc.tex
  ect.). How to produce a readable hardcopy from there?
Thank you.
Xref: sparky gnu.g++.help:1599 comp.windows.x:20270 comp.lang.c++:18064 comp.std.c++:1807
From: heiniw@eebsun1.eeb.ele.tue.nl (Heini Withagen)
Newsgroups: gnu.g++.help,comp.windows.x,comp.lang.c++,comp.std.c++
Subject: Looking for a really good debugger
Date: 16 Dec 92 12:33:20 GMT
Followup-To: gnu.g++.help
Organization: Electronic Circuit Design Group, Eindhoven University of Technology, The Netherlands


I am looking for a debugger running under X11. I have GNU gdb-4.7 but it only
accepts command-line input. In one of the accompanying files of gdb it was 
mentioned that some people are working on an X11-interface for gdb.

Does anybody know where I can get the X11-interface for gdb ?? Or does somebody
know another really good debugger for GNU C++. The standard SUN dbx crashes
immediately when started up with an C++ file.

Could somebody help me with this problem, please because I need a good C++
debugger badly.

Thanks in advance,

Heini Withagen
Department of Electrical Engineering EH 9.29
Eindhoven Technical University
P.O. Box 513
5600 MB Eindhoven
The Netherlands
Phone: 31-40472366
Fax:   31-40455674
E-mail: heiniw@eeb.ele.tue.nl
From: wjin@cs.uh.edu (W. Woody Jin)
Newsgroups: gnu.g++.help
Subject: Building libg++-2.3 in sun3 (Help wanted)
Date: 15 Dec 1992 10:19:41 GMT
Organization: University of Houston
NNTP-Posting-Host: modigliani.cs.uh.edu

Machine : sun3/60M 16M mem 
OS      : sunos 4.1.1
Compiler: gcc-2.3.2
target  : libg++-2.3
Problem : after carefully following all the instructions in gcc and 
          libg++ distribution,  I ended up with the following error messages.
          It seems to me that there is a bug in cpp of gcc, which I am not
          sure.
......
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
In file included from ./../g++-include/stdarg.h:2, from ./../iostream/streambuf.h:27, from ./../iostream/iostream.h:24, from ./../iostream/stream.h:7, from ./String.h:26, from String.cc:25:
/usr/local/GNU/lib/gcc-lib/sun3-sunos4.1.1/2.3.2/include/stdarg.h:2: stdarg.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `String.o'
Current working directory /var/local/src/GNU/libg++-2.3/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `in-src'
Current working directory /var/local/src/GNU/libg++-2.3/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'


Any help is appreciated ....
Thanks.


-- 
____   ____  ____ ____________________________________ (___) _________________
|  |   |  |  |  |  W. Woody Jin (wjin@cs.uh.edu)       (o o)      Moo.... 
|  |   |  |__|  |  PhD Student. Research Asst.  o=======\ /  I'm  a Cow Lover.
|  |   |        |  Dept. of Computer Science   / |     ||O   My wife  was born
\  |---|  |--|  |  University of Houston      `  ||'---||    in Cow year. Mooo
 \____/|__|  |__| _______________________________^^    ^^_____________________

Newsgroups: gnu.g++.help
From: zeller@ips.cs.tu-bs.de (Andreas Zeller)
Subject: How can I build a sharable g++ library?
Organization: Inst. f. Informatik, TU Braunschweig, FRG
Date: Thu, 17 Dec 1992 21:34:32 GMT

Hi all,

I'm looking for a way to build a sharable library
using g++ 2.3.2 under SunOS 4.1.1.

The "vanilla" approach (say, g++ -nostdlib -o libstuff.so.1.0 *.o)
does not work, since when I'm linking (using g++ main.o -lstuff),
constructors/destructors of static objects in the sharable library 
are not included in the global constructor/destructor list and
thus not invoked upon execution.

There is some code related to this in the 2.0 distribution
of libg++ (drt0.c, init.c, init_main.c, dynamic_lib.c, dldefs.h),
written by James Kempf (of SUN?), but despite all trials, 
I can't figure out how to use it correctly.
It seems I have to build a special object, drt0.o 
(using gcc -c drt0.c or cc -pic -c drt0.c), which manages all
the constructor/destructor stuff, and have it included in
my shared library. This is what I do. But all I get is
an "illegal instruction" error.

So, if any of you outside there have managed to build a
sharable library using g++, please let me know.
Any hint is appreciated. 

Please e-mail. I will summarize your suggestions.

(Andreas Zeller)

--
    __o    Andreas Zeller
  _`\<,_   TU Braunschweig, AG Softwaretechnologie
 ( )/ ( )  Gaussstrasse 17      Tel: +49 531/391-7580  zeller@ips.cs.tu-bs.de
--^----^-- D-3300 Braunschweig  Fax: +49 531/391-8111
From: fbaos@nusunix1.nus.sg (Dr Ozekici)
Newsgroups: gnu.g++.help
Subject: Re: libg++-2.2, problem with iostream.C, sun3, HELP!
Date: 10 Dec 92 15:44:36 GMT
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]

Hello...

	I've seen the  previous post since two days ago, and there were
	no replies. I'm posting this  because I am facing the  same
	problem... and I just  can't wait to get a fix for  it.

	Will some kind soul please tell me how to get around the
	problem?

thanx in advance...
From: heiniw@eebsun1.eeb.ele.tue.nl (Heini Withagen)
Newsgroups: gnu.g++.help
Subject: Looking for a really good C++ debugger
Date: 16 Dec 92 12:53:56 GMT
Distribution: gnu
Organization: Electronic Circuit Design Group, Eindhoven University of Technology, The Netherlands


I am looking for a debugger running under X11. I have GNU gdb-4.7 but it only
accepts command-line input. In one of the accompanying files of gdb it was 
mentioned that some people are working on an X11-interface for gdb.

Does anybody know where I can get the X11-interface for gdb ?? Or does somebody
know another really good debugger for GNU C++. The standard SUN dbx crashes
immediately when started up with an C++ file.

Could somebody help me with this problem, please because I need a good C++
debugger badly.

Thanks in advance,

Heini Withagen
Department of Electrical Engineering EH 9.29
Eindhoven Technical University
P.O. Box 513
5600 MB Eindhoven
The Netherlands
Phone: 31-40472366
Fax:   31-40455674
E-mail: heiniw@eeb.ele.tue.nl
 
Newsgroups: uw.dcs.general,gnu.g++.help,comp.lang.c++
From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
Subject: Re: Deriving C++ Templates
Organization: MAXTAL P/L C/- University Computing Centre, Sydney
Date: Wed, 16 Dec 1992 14:23:37 GMT

In article <1992Dec15.160544.26065@dcs.warwick.ac.uk> jas@dcs.warwick.ac.uk (Jason Morris) writes:
>
>  However, I am now having problems in deriving Vector. Is it actually
>possible to use a template as a base class? Or are parameterised types and
>inheritance mechanisms mutually exlusive? 
>
	It is definitely the intent this be allowed, BC allows it.
So do most of the more recent versions of other compilers. Some older
compilers may have had problems.


-- 
;----------------------------------------------------------------------
        JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
	Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
From: ddc@druwa.ATT.COM (CusterDD)
Newsgroups: gnu.g++.help,gnu.g++
Subject: libg++ make fails -- new
Keywords: libg
Date: 14 Dec 92 04:18:23 GMT

First, thanks to all those who responded to my first plea.
Removing th -g got past the previous problem.  Now I have a new one.

Machine: 386/25 clone

OS: ESIX System V/386 Release 4.0 Version 4 

X: X11R4, Motif

Compiler: gcc 2.3.2

Make: gnu make 

c++ Experience: not very much  (I do device drivers for a living-this is play)

Procedure:

cd to gnu/libg++-2.2
gmake -w all
{ losts of stuff removed.  no errors, some warnings about casting void* }

gmake[2] Entering directory gnu/libg++-2.2/libg++/src

{ stuff deleted, no errors }

gcc -nostdinc++ -I.. -I. -I./../iostram -I./../g++-include -c String.cc
In file included from ./../iostream/iostream.h:25,
from ./../iostream/stream.h:7, from ./String.h:27, from String.cc:215:
../..iostream/streambuf.h:359: warning type specified omitted for parameter
./../iostream./streambuf.h:259:: parse error before `)'
../..iostream/streambuf.h:360: warning type specified omitted for parameter
./../iostream./streambuf.h:260:: parse error before `)'

{ similar diagnostics for iostream.h:60, iostream.h 152, iostream.h 225
  iostream.h 247 followed by}

./../iostream/iostream.h:226: `format' undeclared (first use this function)

{ and similar complaints in iostream.h:248 regarding format and args }
gmake[2] *** [String.o] Error 1
...

All the complaints have in common _G_va_list

I found

#define _G_va_list __gnuc_va_list

in config.h.  In the hopes that somehow config.h wasn't being included,
I manually made the substition at one place in streambuf.h:359

Results: the same.


Anyone have a cure?

Thanks in advance

Dave Custer
AT&T Bell Labs
ddc@druwa.att.com

Newsgroups: uw.dcs.general,gnu.g++.help,comp.lang.c++
From: steve@maths.warwick.ac.uk (Steve Rumsby)
Subject: Re: Deriving C++ Templates
Organization: Geometry Group, Maths Institute, Warwick University, UK.
Date: Tue, 15 Dec 1992 16:20:41 GMT

In article <1992Dec15.160544.26065@dcs.warwick.ac.uk>, jas@dcs.warwick.ac.uk (Jason Morris) writes:
> 
>   I have a C++ class, Matrix, and from this I derived a class, Vector, which
> is simply a 1-D Matrix. The problem was that I could only have a Matrix of,
> say floats, but I wanted something more flexible that could hold anything. So
> I changed Matrix to be a template with the type of element given as the
> template arguement. That works fine.
>   However, I am now having problems in deriving Vector. Is it actually
> possible to use a template as a base class? Or are parameterised types and
> inheritance mechanisms mutually exlusive? 
>
Remember that a class template defines a family of classes, and is not a
class itself. It is therefore not possible to use the template as a base class
(since it is not a class) but it is possible to use members of the defined
family as base classes. So, given:

	template <class T>
	class foo {
		// junk...
	};

You can say:

	class foobar : private foo<int> {
		// junk...
	};

You can also say:

	template <class T>
	class foobaz : private foo<T> {
		// junk...
	};

I think this final example does what you want - you derive Vector<T> from
Matrix<T>.

Steve.
-- 
UUCP:	 ...!uknet!warwick!steve	Internet: steve@maths.warwick.ac.uk
JANET:	 steve@uk.ac.warwick.maths	PHONE:	 +44 203 524657
Newsgroups: gnu.g++.help
From: Hamish.Macdonald@x400gate.bnr.ca (Hamish Macdonald)
Subject: Re: Has anyone made cfortran.h work with gcc?
Organization: Bell Northern Research
Distribution: gnu
Date: Tue, 15 Dec 92 14:50:09 GMT

>>>>> On 14 Dec 1992 23:17:18 GMT,
>>>>> In message <1gj4luINNp7g@gap.caltech.edu>,
>>>>> walter@cithe501.cithep.caltech.edu (Chris Walter) wrote:

Chris> I would like to call Fortran routines from within my C++
Chris> programs.  Has anyone managed to modify cfortran.h(a header
Chris> file which allows one to easily call fortran routines within C)
Chris> to work with gcc?  I contacted the author and he isn't aware of
Chris> anyone who has done it.  I thought this might work:

Chris> extern "C" {
Chris> #include "/users/walter/cfortran/cfortran.h"
Chris> #define RANNOR(A,B) CCALLSFSUB2(RANNOR,rannor,FLOAT,FLOAT,A,B)
Chris> }

Chris> but no luck. The linker complains it can't find 

Chris> rannor__Fp(some other stuff)

Chris> so clearly the compiler doesn't know rannor is foreign....

It looks like there is no prototype for "rannor" in "cfortran.h", so
C++ is assuming "C++" linkage the first time it sees a reference to
"rannor".

For C++ to know that "rannor" has "C" linkage, a prototype for it
*must* exist in "cfortran.h".

Try adding a prototype to "cfortran.h" and see if that helps.
Newsgroups: gnu.g++.help
From: gilles@osf.org (Gilles Benati)
Subject: libg++-2.3 with g++ 2.3.1 on HP9000/720
Keywords: libg++ HP9000/720
Organization: Open Software Foundation
Distribution: gnu
Date: Fri, 11 Dec 1992 21:10:06 GMT

(repost)

I need some help to compile libg++-2.3 on Hp9000/720 HP-UX
I got the HP binaries of gcc-2.3.1 from jaguar.cs.utah.edu (including gas)

I run `configure hp9k720' then `make all'.
The compilation dies in libg++/src
	gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
/usr/tmp/cca13777.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168

I get the same error in many other files :
src/BitString.cc, src/Fix.cc, iostream/strstream.C, iostream/PlotFile
I got discouraged and stopped compiling at this point.


Here is a more verbose output of what is happening :

	gcc -v -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
Reading specs from /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/specs
gcc version 2.3.1
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cpp -lang-c++ -nostdinc++ -v -I.. -I. -I./../iostream -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D___HPUX_SOURCE__ -D__hppa -D__hp9000s800 -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -D___HPUX_SOURCE -D__OPTIMIZE__ -g BitSet.cc /usr/tmp/cca14464.i
GNU CPP version 2.3.1 (hppa)
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cc1plus /usr/tmp/cca14464.i -quiet -dumpbase BitSet.cc -g -O -version -o /usr/tmp/cca14464.s
GNU C++ version 2.3.1 (hppa) compiled by GNU C version 2.3.1.
 /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/as -o BitSet.o /usr/tmp/cca14464.s
/usr/tmp/cca14464.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168


First, I thought that I didn't have the right version of gas but it is said
to be working equally well on 700 and 800 series.

Isn't this version of gcc supposed to be working on hp9k720 ? I only see
reference to hp9k8 on the compiler output, though the binaries are stored
in gcc-lib/hp700-hpux.

I saw quite a few patches for libg++2.2 on hp. Do I have to go through all
of them and try to figure out what is still to be needed on libg++2.3 ?

By the way, is it necessary to run fixinclude on hp ?

I would appreciate any help.
Thanks.

Gilles
Newsgroups: uw.dcs.general,gnu.g++.help,comp.lang.c++
From: jas@dcs.warwick.ac.uk (Jason Morris)
Subject: Deriving C++ Templates
Organization: Department of Computer Science, Warwick University, England
Date: Tue, 15 Dec 1992 16:05:44 GMT


  I have a C++ class, Matrix, and from this I derived a class, Vector, which
is simply a 1-D Matrix. The problem was that I could only have a Matrix of,
say floats, but I wanted something more flexible that could hold anything. So
I changed Matrix to be a template with the type of element given as the
template arguement. That works fine.
  However, I am now having problems in deriving Vector. Is it actually
possible to use a template as a base class? Or are parameterised types and
inheritance mechanisms mutually exlusive? 

    Jas.
Newsgroups: gnu.g++.lib.bug
From: bothner@cygnus.com
Subject: Re: libg++2.2 math.h scalb
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 18 Dec 1992 04:31:12 GMT

Try this:

===================================================================
RCS file: /rel/cvsfiles/devo/libg++/g++-include/math.h,v
retrieving revision 1.8
diff -c -r1.8 math.h
*** 1.8	1992/11/18 05:47:15
--- math.h	1992/12/18 20:30:18
***************
*** 64,69 ****
--- 64,71 ----
  #else
  extern "C" {
  
+ #include <_G_config.h>
+ 
  double  acos(double);
  double  acosh(double);
  double  asin(double);
***************
*** 106,112 ****
  double  modf(double, double*);
  double  pow(double, double);
  double  rint(double);
! double  scalb(double, int);
  double  sin(double);
  double  sinh(double);
  double  sqrt(double);
--- 108,114 ----
  double  modf(double, double*);
  double  pow(double, double);
  double  rint(double);
! double  scalb _G_ARGS((double, int));
  double  sin(double);
  double  sinh(double);
  double  sqrt(double);

Newsgroups: gnu.g++.lib.bug
From: dglattin@trirex.COM (Dennis Glatting)
Subject: some bugs
Reply-To: dennis_glatting@trirex.com
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 13 Dec 1992 09:57:07 GMT

The files that compose libg++ seem to have the execute bit set.  This  
causes some problems for GUI editors -- they think the files are  
executable.

rwxrwxr-x 39/10  14949 Dec  2 11:29 1991  
libg++-2.2/libg++/etc/benchmarks/Char.h
rwxrwxr-x 39/10  14309 Dec  2 11:29 1991  
libg++-2.2/libg++/etc/benchmarks/Int.h
rwxrwxr-x 39/10   3503 Jun 17 16:38 1992  
libg++-2.2/libg++/etc/benchmarks/Makefile.in

---
Dennis P. Glatting / Sr. Technical Manager / Trirex Systems Inc.
315 Post Road West / Westport, Connecticut 06880 / (203)221-4600
dennis_glatting@trirex.com (NeXTmail Ok)
Member League for Programming Freedom

Newsgroups: gnu.g++.lib.bug
From: dahl@netcom.com (Michael Dahl)
Subject: libg++ on DEC Alpha
Organization: Cimplex Corporation
Distribution: gnu
Date: Thu, 17 Dec 1992 08:45:35 GMT

I tried installing libg++-2.3 with the Decstation config file, but 
it failed, as expected.

Is an ALPHA configuration file available?

I'd be interested in talking with anyone working on libg++ for 
the ALPHA and would like to be a beta tester, if possible.
--
Michael Dahl,  Cimplex Corporation  
Voice: (408) 879-2800  Fax: (408) 879-9605 x122
1500 E. Hamilton Ave. Suite 100,  Campbell Ca. 95008 
dahl@netcom.com  - or -  apple!netcom!dahl
-- 

Newsgroups: gnu.g++.lib.bug
From: jbg@qualcomm.com (Jeff Gehlhaar)
Subject: G++ Bug Report 14
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 11 Dec 1992 03:25:22 GMT

This is for version 2.3 of the libg++ library.

// When warnings for overloaded virtuals are turned on:
//      an error is detected in <fstream.h>
//      it's an error and not a warning
// Compiling this with ``g++ -v -c -Woverloaded-virtual bug014.cc'' gets:
// Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/specs
// gcc version 2.3.2
// In file included from bug014.cc:11:
// /usr/local/lib/g++-include/fstream.h:34: conflicting specification
deriving virtual function `void  fstreambase::setbuf (char *, int)'

#include <iostream.h>
#include <fstream.h>



Newsgroups: gnu.g++.lib.bug
From: epperly@osnome.che.wisc.edu (Tom Epperly)
Subject: Question/suggestion about GetOpt class
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 16 Dec 1992 09:49:22 GMT

Is anyone working on expanding the GetOpt class to include long style
options?  I think long options would be a nice addition.  If no one is
working on it, I will try to work on it in my *spare* time.  :-)

				Tom
--
-------------------------------------------------------------------------------
Tom Epperly	University of Wisconsin-Madison		Chemical Engineering
(608) 262-8264	epperly@osnome.che.wisc.edu		Graduate Student
Member of the League for Programming Freedom(fighting software monopolies)
	For more info contact me or lpf@uunet.uu.net.
If you feel you must flame, please send email rather than posting.
-------------------------------------------------------------------------------

Newsgroups: gnu.g++.lib.bug
From: rrh@tera.com (Robert R. Henry)
Subject: libg++2.2 math.h scalb
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 17 Dec 1992 19:38:56 GMT

The source for libg++-2.2 libg++/g++-include/math.h
includes the definition
  double  scalb(double, int);

this definition is incorrect for the sunos4.1, predecessors and possibly
successors.  For those target machines, the definition should be
  double  scalb(double, double);

I know that one can argue quite convincingly that Sun has it wrong,
but that is immaterial....

Newsgroups: gnu.g++.lib.bug
From: klamer@mi.el.utwente.NL (Klamer Schutte)
Subject: bug in g++ 2.3.2 or libg++ 2.3
Keywords: genclass List
Organization: University of Twente, BSC-El
Distribution: gnu
Date: Mon, 14 Dec 1992 21:16:55 GMT

Given this file:

#include        "int.List.h"
#include        <String.h>

with int.List.h generated as:

genclass int val List
genclass int val defs

(or with ref -- doesn't matter)
g++ produces the error message:

Reading specs from /usr/local/lib/gcc-lib/sun4/2.3.2/specs
gcc version 2.3.2
 /usr/local/lib/gcc-lib/sun4/2.3.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix t.cc /tmp/cca16791.i
GNU CPP version 2.3.2 (sparc)
 /usr/local/lib/gcc-lib/sun4/2.3.2/cc1plus /tmp/cca16791.i -quiet -dumpbase t.cc -version -o /tmp/cca16791.s
GNU C++ version 2.3.2 (sparc) compiled by GNU C version 2.3.2.
In file included from /usr/local/lib/g++-include/iostream.h:24, from /usr/local/lib/g++-include/stream.h:7, from /usr/local/lib/g++-include/String.h:26, from t.cc:2:
/usr/local/lib/g++-include/streambuf.h:94: `append' redeclared as different kind of symbol
int.List.h:87: previous declaration of `class intList append (class intList&, class intList&)'

I regard this as either a bug in libg++ (namespace) or a bug in g++.

Klamer 

PS There is an easy workaround: reverse order of including files.
--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl

Newsgroups: gnu.g++.lib.bug
From: bothner@cygnus.com
Subject: Re: bug in libg++?
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 14 Dec 1992 08:55:55 GMT

> gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
> In file included from ./../g++-include/stdio.h:69, from ./std.h:29, from String.ncc:26:
> /usr/include/stdio.h:77: conflicting types for `_G_fpos_t'
> ../_G_config.h:10: previous declaration of `_G_fpos_t'

Try removing the #define fpos_t from libg++/iostream/streambuf.h.

	--Per Bothner
Cygnus Support     bothner@cygnus.com

Newsgroups: gnu.g++.lib.bug