HDTenEightyP/NetNews huggingface dataset:
Newsgroups: gnu.g++.help
From: kramer@cs.toronto.edu ("Bryan M. Kramer")
Subject: stream class with popen?
Date: 31 Aug 92 13:27:12 GMT

Is there a stream class (g++ 2.2.2) that supports something
like popen? I'd like to connect a stream to a pipe.

|Bryan M. Kramer, Ph.D.	      416-978-7330, fax 416-978-1455|
|Department of Computer Science, University of Toronto      |
|6 King's College Road, Room 283E			    |
|Toronto, Ontario, Canada      M5S 1A4                      |
From: ssurhode@susssys1.rdg.ac.uk (Paul Rhodes)
Newsgroups: gnu.g++.help
Subject: G++ texinfo file
Date: 27 Aug 92 17:04:54 GMT
Distribution: gnu
Organization: Reading University, England

Can anyone direct me to a *working* version of the g++.texinfo file.
I have a copy from the distribution, but I cannot make the dvi and
info files from it. 

thanks in advance,

  Paul.
Newsgroups: gnu.g++.help,comp.lang.c++
From: mrs@cygnus.com (Mike Stump)
Subject: Re:  Problems with collect on SUNOS 4.1.2
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Sat, 29 Aug 1992 19:26:39 GMT

This problem should not exist in the next release of gcc.  gcc 2.2.1
also cures this problem.

> From: williams@herky.cs.uiowa.edu (Kent Williams)
> Message-Id: <13165@ns-mx.uiowa.edu>
> Date: 25 Jun 92 16:43:33 GMT
> Reply-To: williams@herky.cs.uiowa.edu (Kent Williams)
> Organization: U of Iowa, Iowa City, IA
> To: bug-g++@prep.ai.mit.edu

> I've just installed GCC 2.2.2 on a SparcStation 2, configuring with

> 		configure sparc-sun-sunos4.1.2

> And then compiled up libg++-2.1 (Had some problems there, but that's a
> different story)

> Of course my first program to try is this:

> #include <iostream.h>

> main() {
> 		cout << "hello world\n" ;
> }

> Which works fine until I try to static link it, then ld gives me oodles
> of warnings, to wit:

> cd /nfs/worf_users/kent/sparc2/
> gcc -static -g -v test.cc -o test -lg++
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2/specs
> gcc version 2.2.2
>  /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.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 -g test.cc /usr/tmp/cca01701.i
> GNU CPP version 2.2.2 (sparc)
>  /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2/cc1plus /usr/tmp/cca01701.i -quiet -dumpbase test.cc -g -version -o /usr/tmp/cca01701.s
>  /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2/ld -e start -dc -dp -Bstatic -o test /lib/crt0.o -L/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.2.2 -L/usr/local/lib test.o -lg++ -lgcc -lc -lg -lgcc
> ld: Undefined symbol
>    LBE50
>    LBB50
>    LBE40
>    LBB40
>    LBE51
>    LBB51
>    LBE41

Newsgroups: gnu.g++.help
From: bitbug@netcom.com (James Buster)
Subject: Does gdb 4.[56] work with g++ 1.40?
Date: Wed, 26 Aug 92 03:33:35 GMT
Organization: Lynx Real-Time Systems, Inc.

Or does it only work with g++ 2.X?
-- 
				James Buster
			     bitbug@netcom.com
Newsgroups: gnu.g++.help
From: jrichard@cs.ulowell.edu (John 'MacGyver' Richardson)
Subject: help with operator new (can you overload it?)
Organization: University of Massachusetts at Lowell Computer Science
Date: Sun, 23 Aug 1992 18:18:26 GMT


I'm having some trouble trying to overload the new operator with g++2.2.2.
Is there some switch to turn on overloading for the new operator? 

The following example program doesn't complile under g++ but does under 
cfront3.0.  Can someone tell me what's up here?  Email if possible. 
				Thanks.

-------------------
#include <stdio.h>
#include <string.h>

inline void *operator new(size_t, void *addr) { 
    return addr;
}

int main() {
    char buffer[1000];
    strcpy(buffer, "Hello Gnu World\n");          // I realize this is weird
                                                  // but its just an example.
    char *s = new (buffer) char;                  // g++ gives error here.
    printf("buffer is %s", buffer);               
}


John 'MacGyver' Richardson |"sun dogs fire on the horizon        \ \   \
jrichard@cs.ulowell.edu    | meteor rain stars across the night   * *   \   /\
jrichard@duck.ulowell.edu  | ...the spark still flies                /\  * /  \
                           | reflected in another pair of eyes." /\ /  \/\/
                                                           ------  \   / /
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: gnu.g++.help
Subject: Re: Demangler available?
Date: 3 Sep 1992 00:57:56 GMT
Organization: U. C. Berkeley
NNTP-Posting-Host: forney.berkeley.edu
Summary: yes, with gdb-4.6

In article <34720@hoptoad.uucp> brendan@cygnus.com writes:
>In article <WARSAW.92Sep1145341@anthem.nlm.nih.gov> warsaw@nlm.nih.gov (Barry A. Warsaw) writes:
>
>   Is there a name demangler available for g++, a la the `dem' tool for
>   SunC++?
>
>Not yet, want to write it?

Um, Brendan, it's already done.

>Check out the file cp-dem.c in the gcc 2.2.2 distribution; you could
>easily write a program which just passes strings down into cplus_demangle().

There's one included with gdb-4.6. All you have to do is "make demangle"
in the gdb subdirectory and it makes it.  This program can either demangle
command line arguments or demangle function names on the standard input,
given one per line.  It would be a bit more useful to have it work the
way the old g++filt that used to be in the etc directory of libg++ worked
(it could be used as a filter, for example to process nm output or gprof
listings); perhaps I'll post a patch to restore this behavior.  It's not
hard.



--
Joe Buck	jbuck@ohm.berkeley.edu
From: roberts@studguppy.lanl.gov (Doug Roberts)
Newsgroups: gnu.g++.help
Subject: NIH Class Libraries, g++ ?, latest version?
Date: 1 Sep 92 18:09:57 GMT
Organization: Technology Modeling and Analysis, LANL-A7

Hello, all.

Does anybody know what the latest version of the NIH Class Library
is? From the README on 'alw.nih.gov` in the directory 'pub/NIHCL`:

>The NIH Class Library (NIHCL), a library of reusable C++ classes, can be
>obtained by "anonymous" ftp from 'alw.nih.gov` in the directory 'pub/NIHCL`.
>
>The file 'nihcl-3.0.tar.Z` is a compressed tar file holding all NIHCL
>source code, example code, and documentation.
>
>-r--r--r--  2 kgorlen    664692 May 30  1990 nihcl-3.0.tar.Z

Note that the file date is May, 1990.

Also, is there a version that compiles under gcc2.2.2?

Thanks!
--Doug
--

==================================================================
Douglas Roberts                |
Los Alamos National Laboratory | All good work is done in defiance
dzzr@lanl.gov                  |  of management. -- Bob Woodward
(505)667-4569                  |
==================================================================
Newsgroups: gnu.g++.help,comp.lang.c++
From: tiemann@cygnus.com
Subject: Re: manuals
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Tue, 1 Sep 1992 02:16:39 GMT

   Return-Path: help-g++-request@prep.ai.mit.edu
   To: help-g++@prep.ai.mit.edu
   Date: 1 Sep 92 15:05:18 GMT
   Organization: USC  Department of Computer Science
   From: hill@ece.scarolina.edu (Kenneth Hill)
   Sender: help-g++-request@prep.ai.mit.edu
   Subject: manuals
   
   I am new to this newsgroup and I badly need to know if there are good
   manuals out there for using g++.  I would appreciate any direction.
   Please e-mail your responses to hill@charlie.ece.scarolina.edu.
   
   Thank you very much.
   
   -khh

Cygnus Support is working on a revised set of docs for GNU C++ and libg++.
These docs will be freely available when finished.  In the mean time,
we are continuing to ramp our doc and development depts, both of which
are funded in part by support and tape sales.  You can help by
spending money on Cygnus products and documentation instead of
spending it on proprietary products.  You can also help by mailing
contributions to the Free Software Foundation.

For more info about Cygnus Support products and services, send mail to
info@cygnus.com.  Please include physmail address and telephone
number.  If you want to participate in the GNU C++ Survey (which is
being used to prioritize the work we will be doing on GNU C++ and GDB
over the next 3-5 person-years), you can ftp a copy from

	cygnus.com:~ftp/pub/reno-survey.tex

Please send your response to reno-survey@cygnus.com

Thanks!  Here's to building a better C++,

Michael
Newsgroups: gnu.g++.help
From: soc@isl.Stanford.EDU (Sharon Cioffi)
Subject: gnu cross-reference for g++ source code
Organization: Stanford University
Distribution: ca
Date: Fri, 28 Aug 92 22:17:03 GMT

Is there a cross-reference utility for gnu g++ 2.0 source code?  Please
send response to cicolani@fsdvx2.arc.nasa.gov.  Thanks in advance.
From: renagade@legolas.deakin.oz.au (Mark Kuzmycz, SD 128, 2881)
Newsgroups: gnu.g++.help
Subject: type conversion required
Date: 2 Sep 1992 07:14:32 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: renagade@legolas.deakin.oz.au
NNTP-Posting-Host: legolas.cm.deakin.oz.au


I have the following compiler message::

/usr/local/gnu/g++ -O -I ../Include/ -target sun4 -c test.C
test.C: In function `int  main ()':
test.C:68: type conversion required for type `List<Set>'
*** Error code 1

Is this a compiler bug or am I doing something wrong?? The code is...
include "list.h"
#include "set.h"
#include <iostream.h>

#include "../Utilities/list.C"

ostream& operator <<(ostream& os, List<Set>& list)
{
  for(int i=0; i < list.size(); i++)
  {
    os << "< ";
    for(int j = 0; j < list[i].maxSize(); j++)
    {
      if(list[i] == j)
      {
        os << " " << (char)('A'+j) << " ";
      }
      else
      {
        os << "~" << (char)('A'+j) << " ";
      }
    }
    os << ">";

    os <<"\n";
  }
  return(os);
}

int power(int number)
{
  int value = 1;

  for(int i =0; i < number; i++)
  {
    value *= 2;
  }
  return(value);
}

main()
{
  int size;

  cout << "Enter size:" << flush;
  cin >> size;

  int number = power(size);
  Set base(size);

  int index = 0;
  List<Set> list;

  list.add(base);

  for(int i=1; i < number; i++)
  {
    while(base == index)
    {
      base -= index;
      index++;
    }
    base += index;
    cout << base;
    index = 0;
    list.add(base);
  }
  cout << list;   // line # 68....
}

As you can see I have a List<Set> output operator so why does it want to cast?


Mark.
Newsgroups: gnu.g++.help
From: rv@cs.brown.edu (rodrigo vanegas)
Subject: profiling?
Organization: Dept. of Computer Science, Brown University
Distribution: gnu
Date: Sun, 23 Aug 1992 20:15:25 GMT

What's the story with g++ profiling?  is it supposed to work?  i'm
getting missing symbols errors at link time.


rodrigo vanegas, brown university
rv@brown.edu
From: czei@musclefish.com (Michael Czeiszperger)
Newsgroups: gnu.g++.help
Subject: What are built-in function declarations?
Date: 1 Sep 92 19:23:36 GMT
Organization: Muscle Fish


Hi --

I'm trying to compile libg++-2.2 with gcc-2.2.2 on a Sun3 running
SunOS4.1.  The problem is, the compiler keeps complaining that the
prototypes in g++-includes that come with libg++ don't match the
built-in prototypes.  I've never heard of built-in prototypes, and
can't find an explanation in the docs anywhere.    I did fix the
include files when compiling gcc using "make fixincludes".

Does anyone have an idea of what's going on?

gcc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.cc
In file included from ./std.h:26, from AllocRing.cc:22:
./../g++-include/string.h:28: declaration of `long unsigned int  strlen (const c
har *)'
<built-in>:0: conflicts with built-in declaration `int  strlen (const char *)'
In file included from ./std.h:28, from AllocRing.cc:22:
./../g++-include/unistd.h:92: conflicting types for `int  geteuid (...)'
/usr/local/lib/gcc-lib/m68k-sun-sunos4.1/2.2.2/include/unistd.h:96: previous dec
laration of `short unsigned int  geteuid (...)'
./../g++-include/unistd.h:93: conflicting types for `int  getegid (...)'
/usr/local/lib/gcc-lib/m68k-sun-sunos4.1/2.2.2/include/unistd.h:95: previous dec
laration of `short unsigned int  getegid (...)'
./../g++-include/unistd.h:94: conflicting types for `int  getgid (..


THANKS!
Xref: sparky gnu.g++.help:1180 comp.lang.c++:13229
From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: What does this compiler error mean?
Date: 2 Sep 92 21:40:59 GMT
Reply-To: doug@foxtrot.ccmrc.ucsb.edu
Followup-To: gnu.g++.help
Distribution: usa

What is this error, which appears only when using the -Woverloaded-virtual  
flag, telling me about my virtual functions?  In each derived class, the  
virtual function sampleRate() is declared as returning an int, and accepting no  
arguments. LPCHeader, FFTHeader, and EnvelopeHeader are all derived from  
Header.  The Header class itself contains no member function sampleRate; it is  
virtual in the three derived classes to allow further derivations of those  
classes.

Header.h:154: conflicting specification deriving virtual function `int   
LPCHeader::sampleRate ()'
Header.h:198: conflicting specification deriving virtual function `int   
FFTHeader::sampleRate ()'
Header.h:234: conflicting specification deriving virtual function `int   
EnvelopeHeader::sampleRate ()'

Here is a portion of the header file:

class Header : public Resource {
protected:
	int magic_number;
	int data_offset;
	int data_size;
	DataType data_type;
	int nchans;
	char *comment;
public:
..
};

class LPCHeader : public Header {
protected:
	int npoles;
	double framerate;
	int samprate;
	double dur;
public:
..
	virtual int sampleRate() { return samprate; }
..
};

class FFTHeader : public Header {
protected:
	int mode;
	int samprate;
	int npoints;
public:
..
	virtual int sampleRate() { return samprate; }
..
};

I know that I could extract out an intermediate abstract class containing the  
common data and interface, but for the small amount of overlap, I dodnt bother.

Thanks in advance.

--
Douglas Scott                              (805)893-8352
Center for Computer Music Research and Composition
University of California, Santa Barbara
Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Newsgroups: gnu.g++.help
Subject: Demangler available?
Date: 1 Sep 92 19:53:41 GMT
Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
Organization: Century Computing, Inc.


Is there a name demangler available for g++, a la the `dem' tool for
SunC++?  I haven't quite gotten g++'s style down yet ;-).  Perhaps
there is a way in gdb?

Thanks.
-Barry
Newsgroups: gnu.g++.lib.bug
From: bothner@cygnus.com
Newsgroups: gnu.g++.lib.bug
Subject: Re: Problems compiling libg++2.2 on HP-UX 8
Date: 31 Aug 92 12:40:25 GMT
Distribution: gnu
Organization: GNUs Not Usenet

> This has got to be a fairly straightforward problem but when attempting to
> compile libg++ on hp-ux using gcc-2.2.2 I get the following:

Yes, this is a staright-forward problem:  The HP include
files are broken.  Ideally, the gcc fixincludes script should
be extended to deal with it;  until then, you need to work
around the problem manually.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Newsgroups: gnu.g++.lib.bug
From: geoff@netcom.com (Geoffrey Leach)
Subject: Building libg++ with installed gcc
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Distribution: gnu
Date: Fri, 28 Aug 1992 03:14:02 GMT

'm building libg++ for the first time.  Seems like the makefile
looks for an gcc directory at the same level.
	GXX = `if [ -d $${rootme}/gcc ] ; ...
Is there a way to build with an installed gcc?
-- 
Geoffrey Leach		geoff@netcom.com

Newsgroups: gnu.g++.lib.bug
From: warsaw@nlm.NIh.GOV (Barry A. Warsaw)
Subject: LIBG++, AT&T DIFFERENCE=> filebuf: :openprot
Organization: Century Computing, Inc.
Distribution: gnu
Date: Mon, 31 Aug 1992 19:41:24 GMT

There is a difference in the way class filebuf is defined b/w libg++
and AT&T (really SunC++2.1) version of iostream.


class  filebuf : public streambuf {	/* a stream buffer for files */
public:
	static const int openprot ; /* default protection for open */
public:
//...
}


class filebuf from libg++ has no such member.  Perhaps it should for
compatibility?
From: bothner@cygnus.com
Newsgroups: gnu.g++.lib.bug
Subject: Re: port to DECStation 5000 w/ Ultrix V4.2
Date: 27 Aug 92 14:13:36 GMT
Distribution: gnu
Organization: GNUs Not Usenet

If you want to use obsolete versions, you will have to
fix the problem syourself.  libg++-2.2 and gcc-2.2.2)
have been out for a while - I recommend using those.
We do not have time to support libg++-1.xx.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Newsgroups: gnu.g++.lib.bug
From: dclark@cse.ogi.edu (Dan Clark)
Subject: more detail of compile
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 27 Aug 1992 21:08:00 GMT

continuation of previous mail message.
here is a copy of the compile statement for one of the modules:
g++  -I../g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-i
nsns -fdelayed-branch  -fsave-memoized  -Wall -v  -c  File.cc
g++ version 1.40.3 (based on GCC 1.40)
 /usr/local/lib/gcc-cpp -+ -v -I../g++-include -undef -D__GNUC__ -D__GNUG__ -D__
cplusplus -D__ANSI_COMPAT -D__LANGUAGE_C -D__MIPSEL -D__R3000 -D__SYSTYPE_BSD -D
__bsd4_2 -D__host_mips -D__mips -D__ultrix -D__unix -DLANGUAGE_C -DMIPSEL -DR300
0 -DSYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dultrix -Dunix -D____ANSI_COMPAT__
-D____LANGUAGE_C__ -D____MIPSEL__ -D____R3000__ -D____SYSTYPE_BSD__ -D____bsd4_2
__ -D____host_mips__ -D____mips__ -D____ultrix__ -D____unix__ -D__LANGUAGE_C__ -
D__MIPSEL__ -D__R3000__ -D__SYSTYPE_BSD__ -D__bsd4_2__ -D__host_mips__ -D__mips_
_ -D__ultrix__ -D__unix__ -D__OPTIMIZE__ -Wall File.cc /shr3/tmp/cca21195.cpp
GNU CPP version 1.40
 /usr/local/lib/gcc-cc1plus /shr3/tmp/cca21195.cpp -mgpOPT -quiet -dumpbase File
.cc -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fs
ave-memoized -g -O -Wall -version -o /shr3/tmp/cca21195.s
GNU C++ version 1.40.3 (based on GCC 1.40) AL-MIPS 1.1 Ultrix Dec Mips Aug 26 19
92 compiled by GNU C version 1.40.
default target switches: -mmips-as -mnofixed-ovfl -mG0 -mG1
In file included from ../g++-include/sys/file.h:21, from File.cc:30:
//usr/include/sys/file.h:162: field `f_lk' has incomplete type
//usr/include/sys/file.h:290: warning: `flock' was declared `extern' and later `
static'
File.cc: In method class File &File::scan (const char *, ...):
File.cc:545: warning: unused variable `__vd_alist'
File.cc: In method class File &File::form (const char *, ...):
File.cc:561: warning: unused variable `__vd_alist'
*** Error code 1 (ignored)

btw. do you have in suggestions for what i really need in my g++ compile
for a simple make file to check my other c++ applications.
thanks for looking into this.
dan

Newsgroups: gnu.g++.lib.bug
From: sean+@andrew.cmu.edu (Sean McLinden)
Subject: Problems compiling libg++2.2 on HP-UX 8
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 31 Aug 1992 06:53:37 GMT

This has got to be a fairly straightforward problem but when attempting to
compile libg++ on hp-ux using gcc-2.2.2 I get the following:


	gcc -g -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/usr/include/math.h: In function `int  abs (int)':
In file included from ./builtin.h:33, from Obstack.cc:22:
/usr/include/math.h:185: redefinition of `int  abs (int)'
/usr/include/stdlib.h:62: here is the previous declaration of `int  abs (int)'
./Obstack.h: In method `void  Obstack::grow (const void *, int)':
In file included from Obstack.cc:23:
./Obstack.h:124: warning: implicit declaration of function `bcopy'
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.

Clues would be appreciated.

Thanks.


Newsgroups: gnu.g++.lib.bug
From: boyle@gca.COM (David Boyle)
Subject: Bug in output to cerr
Keywords: cerr
Organization: GCA Corporation
Distribution: gnu
Date: Thu, 27 Aug 1992 14:36:40 GMT

/*
The following program gets a seg fault.  Commenting the first cerr output
stmt and uncommenting the second works fine.  Built on a Sun SPARCstation IPX
SunOs 4.1 with gcc2.1 and libg++2.0.
*/

#include <stream.h>

main()
{
	for (int i = 0; i < 1000; i++)
	{
		cerr << "foo: \"" << "bar" << "\"\n";   // breaks
//		cerr << "foo: \"bar\"\n";               // works
	}
}

/*
--
David Boyle                            ...uunet!gca!boyle  or  boyle@gca.com
GCA, a unit of General Signal          (508) 837-3869
Andover, MA  01810
*/

Newsgroups: gnu.g++.lib.bug
From: pauls@rira3.nrl.navy.mil (Tom Pauls)
Subject: cout undefined
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 27 Aug 1992 13:13:30 GMT

	I have built the gcc-2.2.2 C and C++ compilers under 
Interactive Unix System V Release 3.2 Version 3.0 and have used these
to build libg++.  In building libg++ (and libio) I did the following:

							25 August 1992

			Building the GNU C++ Library

	1) ./configure i386-isc -gas
	Created "Makefile" in /usr2/gnu/libg++-2.2

	2) make CC='gcc -B/usr2/gnu/gcc-2.2.2/' RANLIB=echo all
cd test; make all ...
Make:  Don't know how to make iostream/stamp.  Stop.
*** Error code 1

		ACTION: Did 'touch stamp' in ./libg++/iostream

	3)make CC='gcc -B/usr2/gnu/gcc-2.2.2/' RANLIB=echo all
		
		Done!


	When I now try to compile and link


#include <iostream.h>

int main()
{
	cout << "Hello, World!\n";
}

	I get the error message: 

undefined                       first referenced
 symbol                             in file
cout                                hello.o
__ls__FR7ostreamPCc                 hello.o


	This looks like some sort of startup problem.  Should I be
including something else in the link?

	As a test I made 'lf', which seems to work fine.

Tom Pauls


Newsgroups: gnu.g++.lib.bug
From: shite@sinkhole.unf.edu (Stephen Hite)
Subject: Re: Need help compiling libg++-2.2 for Esix SVR4.0.3
Organization: University of North Florida, Jacksonville
Distribution: gnu
Date: Wed, 26 Aug 1992 11:53:46 GMT

In article <1992Aug19.165447.7113@engage.pko.dec.com> balson@gauss.enet.dec.com (Jim Balson) writes:
>
>	Hi, I am having a problem compiling libg++ on a 386/Esix SVR4
>machine. The following error occurs.
>
>
>
>gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c timer.cc

Okay, here's some of the things you'll have to do:

  1. *Don't* use -g, it's not working properly.

  2. You'll have to change the prototype for ssignal (change the one in your
     gcc include directory.

  3. Change some stat.h function definitions to the new style.

  4. In your CFLAGS, put -D__STRICT_ANSI__.  This takes care of choosing
     the correct va_start in  stdarg.h.


Enjoy.


Steve Hite
shite@sinkhole.unf.edu 


Newsgroups: gnu.g++.lib.bug
From: brendan@cygnus.com (Brendan Kehoe)
Subject: addition of bug-libg++-in@cygnus.com
Reply-To: brendan@cygnus.com
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 4 Sep 1992 00:10:54 GMT

Hi Len..could you put bug-libg++-in@cygnus.com on the list for
bug-lib-g++?  If anyone from Cygnus is on the list, please take 'em
off and tell me their names, so I can add them to the alias locally.

Thanks!
Brendan

Newsgroups: gnu.g++.lib.bug