HDTenEightyP/NetNews huggingface dataset:
From: eb@ascent.com (Ed Barton)
Subject: g++ executable size
Date: 29 Jul 92 09:27:45
Organization: Ascent Technology, Inc., Cambridge Massachusetts


As has often been noted, g++ 2.2.2 on the IBM RS/6000 produces
enormous executables.  This appears to result from the generation of
multiple local copies of various method functions.  Are there any
tricks for reducing this effect, such as by turning on some linker
flag in the second link phase only that would allow the linker to
garbage-collect most of the local copies?  Are there any undocumented
flags that allow greater control over the generation of these possibly
duplicated copies, as is possible in many PC products?
From: hvisage@rkw-risc.cs.up.ac.za (Hendrik Visage)
Newsgroups: gnu.g++.help
Subject: fork() command in c++
Summary: how to implement multiple processes in g++
Keywords: fork() unix
Date: 31 Jul 92 22:12:12 GMT
Organization: University of Pretoria, South Africa

Hi net,

   I need to implement multiple processes in g++ on a RS6000,
but I can't get any help how to implement it in g++.
The compiler gives me a implicit definition warning.
In gcc I can do the fork() system call but not in g++.

  Any help would be appreciated.

  H.Visage
  hvisage@rkw-risc.cs.up.ac.za
  9121110@rkw-lan.cs.up.ac.za
Xref: sparky gnu.g++.help:1032 comp.lang.c++:11418
From: hwrvo@kato.lahabra.chevron.com (W.R. Volz)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: Re: generating source code
Date: 23 Jul 92 17:57:29 GMT
Followup-To: gnu.g++.help
Organization: Chevron Oil Field Research Company

In article <9207230635.AA13746@rtl.cygnus.com>, tiemann@cygnus.com writes:
|> 
|>    Return-Path: help-g++-request@prep.ai.mit.edu
|>    To: help-g++@prep.ai.mit.edu
|>    Date: Tue, 21 Jul 1992 23:42:25 GMT
|>    Organization: John Fluke Mfg. Co., Inc., Everett, WA
|>    From: mehr@fluke.tc.fluke.com (Manooch Mehr)
|>    Sender: help-g++-request@prep.ai.mit.edu
|>    Subject: generating source code
|>    
|>        hi :
|>    
|>          I am using g++ version 2.1 . Is there an easy way to get the compiler to generate C source codes.
|>          Please, email your response.
|>    										Manooch
|> 
|> GNU C++ does not generate C source.  The GNU compilers support about
|> 20 different machine targets.  It's far better to port the backend to
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|> a specific processor than to rely on a proprietary compiler for
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|> translating C code into asm code.
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|> 
|> Michael

What the hell are you talking about? It seems vastly easier to translate a 
single code specification to a single code specification, i.e, C++ to Ansi C.
Most of the problems I see about g++ and gcc has to do with machine specifics.
Getting the machine dependancies out would probably simply g++ considerably.
This is exactly what cfront does. Vendor compiler are in general better than
gcc, they produce better object code and compile faster. I would much rather
translate than compile. The tradeoff is that compiling to object code
should produce some optimizations that can't be found when translating from
C++ to C and then optimizating.

-- 

======================
Bill Volz
Chevron Oil Field Research Co.
Exploration Research/Geophysics Division.
P.O. Box 446, La Habra, CA 90633-0446
Phone: (310) 694-9340
Xref: sparky gnu.g++.help:1040 gnu.gcc.help:1773
From: rodb@bridge.COM (Rod Burman)
Newsgroups: gnu.g++.help,gnu.gcc.help
Subject: G++ and VMS
Date: 24 Jul 92 20:47:30 GMT
Followup-To: gnu.g++.help
Distribution: usa
Organization: Bridge Information Systems

Hi folks,
   a week or teo back I asked "where is GCC/++ for VMS"
several helpful people (to whom many thanks) said

	"mango.rsmas.miami.edu in /pub/VMS-g++"

I duely grabbed it and installed it and all was great!
But now woe is me! G++ seems to refuse to find files
using VMS "search lists", I cannot get any other program
to emulate this "not there" behavior. Here is an example:

define include_list [foo],[bar]

C++ code (in foo.cc):

#include "bar.h"	// inc [bar]

etc

compile:
gxx /include=include_list: foo.cc

error diagnostic no such file bar.h

BUT dir include_list:*.h is ok and
if foo.cc has fopen("include_list:bar.h", ...
in it that open succeeds Has anyone experienced
this problem if so what's the fix? I've tried 
everything I can think of changing definitions etc]
and can't get it to work!

Any suggestions gratefully received,
	thanks Rod.

Disclaimer: None, it's a fair cop I wrote it.
Newsgroups: gnu.g++.help
From: mputaala@tolsun.oulu.fi (Miikka Putaala )
Subject: Internal error
Date: Mon, 20 Jul 92 10:04:07 GMT


I have compiled GCC2.2.2 succesfully (no errors, but some warnings of files
that do not exist in the current directory but are already in the
destination) and now I am trying to build the LIBG++. It compiles the
plain c files OK, but when trying to compile the real C++ files (.C)
the compiler crashes: Internal error (cc1) got signal 6... or
something like that. What can be wrong? Is it the GCC2.2.2 that fails
or the library code?

The architecture I'm building it on is:
	i386, MST SYSVR4.03


  // Miikka	mputaala@phoenix.oulu.fi		Tatunkuja 6 90540 Oulu
     Putaala	mputaala@tolsun.oulu.fi			FINLAND
							Phone: (358) 81 362430
Newsgroups: gnu.g++.help
From: rcsaito@cs.washington.edu (Richard Saito(e))
Subject: test
Organization: Computer Science & Engineering, U. of Washington, Seattle
Date: Tue, 21 Jul 92 08:42:43 GMT

I've just installed gcc and g++ under Sun-OS 4.1.1, and since I have no
experience with C++, I need a sample program in order to test whether I've
installed g++ properly.  Can somebody help me out?  Thanks...

Richard













-- 


-- the richmeister
From: bilse@login.dkuug.dk (Per G. Bilse)
Newsgroups: gnu.g++.help
Subject: Re: Internal compiler error:program cc1 got fatal signal 6 on i386-sysv4
Date: 26 Jul 92 11:59:23 GMT
Organization: DKnet

For what it's worth, I found that cc1plus bombs out if you compile
with optimization (-O, -O2) _and_ debug info (-g).  See if your
default flags (in /usr/local/lib/gcc-lib/.../specs) have defined
optimization.
--
Per G. Bilse:   bilse@dkuug.dk   bilse@login.dkuug.dk  per@bilse.dk
work DKUUG, Universitetsparken 1-3, 2100 Copenhagen OE  +45 31 39 73 22
priv Dannebrogsgade 35, DK-1660 Copenhagen V.  +45 31 31 39 71
      "It's spaghetti, Jim, but not as we know it"
From: cflatter@nrao.edu (Chris Flatters)
Newsgroups: gnu.g++.help
Subject: Re: g++ exception handling
Date: 28 Jul 92 18:53:40 GMT
Reply-To: cflatter@nrao.edu
Organization: NRAO

In article 23644@ichips.intel.com, tmcconne@sedona.intel.com (Tom McConnell) writes:
>
>In article <1992Jul28.040201.5029@noose.ecn.purdue.edu>, helz@ecn.purdue.edu (Randall A Helzerman) writes:
>> I was hacking around in the bison files for gcc 2.2.2 and came 
>> across the comment which said that gcc 2.2.2 supports ANSI
>> exception handling syntax, but use at your own risk.
>> 
>> Has anyone had any trouble with them?  Are they pretty robust?
>> 
>> Could someone explain to me the syntax and how they work?  I'm
>> familier with lispish exception handling--is it similar in
>> concept?
>> 
>> Thank-you kindly, in advance.
>
>  My experiance with gcc and exception handling is that it does not work. The
>code is "there" but does not seem to be functional. I spent some time trying to
>write a working exception program, then spent some time debugging gcc, to no
>avail.
>
>  I spent some time talking to other people, and my understanding that exception
>handling does not currently work :(

When the bison grammar files note that they support ANSI exception handling syntax
that is exactly what they mean: GNU C++ will parse ANSI-style exception handling
code if you give it the correct -f flag but there is (as yet) no run-time support.

	Chris Flatters
	cflatter@nrao.edu
From: camacs5@jhunix.hcf.jhu.edu (Sol Su)
Newsgroups: gnu.g++.help
Subject: internal compiler error message
Date: 24 Jul 92 16:51:51 GMT
Distribution: usa
Organization: HAC - Johns Hopkins University, Baltimore

gcc 2.2.2, libg++ 2.2 (? current version, built today)

gcc: Internal compiler error: program cc1plus got fatal signal 6

what does that mean?  happens with and without -O.  source is
rather involved, so i don't post it.  does the "6" mean anything?

prefer to have  mail to stvjc@gauss.med.harvard.edu -- can't
easily get to net at present.  thanks.
Newsgroups: gnu.g++.help
From: funke@kirk.fmi.uni-passau.de (Christian Funke)
Subject: templates and friends
Organization: University of Passau, Germany
Date: Thu, 23 Jul 1992 15:34:33 GMT

Hi there!

I have read  there are problems with gcc-2.1 and template classes, which
define non-inline element functions. Does anyone know, if there are problems
generating friend functions for template classes?
How can I correctly build something like that:

#include <iostream.h>

template <class A, class B>
class hubo {
   A avar;
   B bvar;
  public:
   hubo(void):avar(0),bvar(0) {}
   hubo(A a, B b):avar(a), bvar(b) {}
   friend ostream& operator<<(ostream& o, hubo& h);
   
   friend istream& operator>>(istream& i, hubo& h)
     {
       return i >> h.avar >> h.bvar ;
       
     }
};


ostream& operator<<(ostream& o,  hubo< WHAT_COMES, HERE? >& h)
{
  return o << "Hubo[" << h.avar << ',' << h.bvar << "]\n";
}

main()
{
  hubo<double,int> C;
  
  cout << C << '\n';
  
}



When inserting this piece of code [

ostream& operator<<(ostream& o, hubo<double,int>& h)
{
  return o << "Hubo[" << h.avar << ',' << h.bvar << "]\n";
}
 
] instead of something else, gcc-2.1 complains about a missing type conversion
for the ostream& operator<< :

TTest.cc: In function `int  main ()':
TTest.cc:40: type conversion required for type `hubo<double ,int>'

...and what makes things even more strange: when looking at the assembly output
gcc does generate the correct name for operator<< (its the same when defining it
inside the class declaration)

What's wrong?

Chris
From: bilse@login.dkuug.dk (Per G. Bilse)
Newsgroups: gnu.g++.help
Subject: Help: g++ assembler output on V.4
Summary: V.4 assembler doesn't like g++ [cd]tors sections.
Keywords: g++ constructor destructor assembler section 386 486 V.4
Date: 26 Jul 92 10:15:34 GMT
Organization: Prolog Development Center

I'm experiencing a problem with g++ (v 2.2.2) on a '386 V.4
(Consensys, to be specific) ... g++ emits special section
directives for constructors and destructors, as appears normal
on V.4:

  .section	.dtors,"a",@progbits	.long	 <address>
  .section	.ctors,"a",@progbits	.long	 <address>

However, the assembler on my system distinctly dislikes anything
following the ``"a"'' ...  complete sample output is as follows:

#include <stdio.h>
struct A {
  A() { fputs("A\n", stdout); }
  ~A() { fputs("~A\n", stdout); }
};
A a;
main()
{
  return 0;
}


	.file	"c++test.c"
	.version	"01.01"
gcc2_compiled.:
	.ident "@(#)head:stdio.h	2.34.1.2"
.section	.rodata
.LC0:
	.string	"A\n"
.LC1:
	.string	"~A\n"
.globl a
.data
	.type	 a,@object
	.size	 a,1
a:
	.zero	1
.text
	.align 16
.globl main
	.type	 main,@function
main:
	pushl %ebp
	movl %esp,%ebp
	xorl %eax,%eax
	movl %ebp,%esp
	popl %ebp
	ret
	.align 16
.Lfe1:
	.size	 main,.Lfe1-main
	.align 16
.globl _GLOBAL_.D.a
	.type	 _GLOBAL_.D.a,@function
_GLOBAL_.D.a:
	pushl %ebp
	movl %esp,%ebp
	pushl $__iob+16
	pushl $.LC1
	call fputs__FPCcP4FILE
	movl %ebp,%esp
	popl %ebp
	ret
	.align 16
.Lfe2:
	.size	 _GLOBAL_.D.a,.Lfe2-_GLOBAL_.D.a
.section	.dtors,"a",@progbits	.long	 _GLOBAL_.D.a
.text
	.align 16
.globl _GLOBAL_.I.a
	.type	 _GLOBAL_.I.a,@function
_GLOBAL_.I.a:
	pushl %ebp
	movl %esp,%ebp
	pushl $__iob+16
	pushl $.LC0
	call fputs__FPCcP4FILE
	movl %ebp,%esp
	popl %ebp
	ret
	.align 16
.Lfe3:
	.size	 _GLOBAL_.I.a,.Lfe3-_GLOBAL_.I.a
.section	.ctors,"a",@progbits	.long	 _GLOBAL_.I.a
	.ident	"GCC: (GNU) 2.1"


I should add that I'm in dire straits with this one.  I need to get
this working by the end of the month and have ordered the relevant
books, but delivery time on those seems to be a problem.

Any help would be greatly appreciated.

In advance, thanks.
--
Per G. Bilse:   bilse@dkuug.dk   bilse@login.dkuug.dk  per@bilse.dk
work DKUUG, Universitetsparken 1-3, 2100 Copenhagen OE  +45 31 39 73 22
priv Dannebrogsgade 35, DK-1660 Copenhagen V.  +45 31 31 39 71
      "It's spaghetti, Jim, but not as we know it"
Newsgroups: gnu.g++.help
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: g++ exception handling
Originator: tmcconne@sedona
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation
Date: Tue, 28 Jul 1992 17:24:50 GMT


In article <1992Jul28.040201.5029@noose.ecn.purdue.edu>, helz@ecn.purdue.edu (Randall A Helzerman) writes:
> I was hacking around in the bison files for gcc 2.2.2 and came 
> across the comment which said that gcc 2.2.2 supports ANSI
> exception handling syntax, but use at your own risk.
> 
> Has anyone had any trouble with them?  Are they pretty robust?
> 
> Could someone explain to me the syntax and how they work?  I'm
> familier with lispish exception handling--is it similar in
> concept?
> 
> Thank-you kindly, in advance.

  My experiance with gcc and exception handling is that it does not work. The
code is "there" but does not seem to be functional. I spent some time trying to
write a working exception program, then spent some time debugging gcc, to no
avail.

  I spent some time talking to other people, and my understanding that exception
handling does not currently work :(

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: gnu.g++.help
From: mehr@fluke.tc.fluke.com (Manooch Mehr)
Subject: generating source code
Organization: John Fluke Mfg. Co., Inc., Everett, WA
Distribution: usa
Date: Tue, 21 Jul 1992 23:42:25 GMT



    hi :

      I am using g++ version 2.1 . Is there an easy way to get the compiler to generate C source codes.
      Please, email your response.
										Manooch
Newsgroups: gnu.g++.help,comp.lang.c++
From: tony@osprey.shef.ac.uk (a j cornah)
Subject: Request for information about setjmp/longjmp in g++
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Thu, 23 Jul 1992 15:55:52 GMT

I have been looking at providing a similar feature to Ada EXCEPTIONs in
Modula-2, C and C++. What I need to do this reasonably cleanly is a
facility which works like "setjmp" but for one routine down:

a()
{
    if (b() != 0)
    {
        printf("Something happened\n");           <----------+
        return;                                              |
    } /* endif (b() != 0) */                                 |
    c();                                                     |
}                                                            |
                                                             |
int                                                          ^
b()                                                          |
{                                                            |
    return( MYsetjmp(buffer) );                              |
}                                                            |
                                                             |
c()                                                          |
{                                                            |
    longjmp(buffer); /* This returns to the code up here  ->-+
                      * rather than being wrong because b
                      * has already returned
                      */

In TURBO C++ I can obtain the source of the runtime library and modify the
setjmp code to save the value of the previous stack frame fairly easily.
I had a quick look at the source of g++ but it wasn't obvious whether I could
do the same and expect the same result.

Could you please tell me where to look for the code I need?

Thanks in anticipation of a reply

Tony Cornah
From: reema@emc.COM (Reema Gupta)
Subject: Installing the libg++-1.39.0
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Thu, 23 Jul 1992 18:57:02 GMT

To whomever it may concer:

I am having a problem installing the libg++-1.39.0.
When I run the make command I get the following error.


>>emc2% make src
(cd src; make GXX="gcc"  GXXFLAGS=" -I/home8/gcc/libg++-1.39.0/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall  -pipe" GXXLDFLAGS="-L/home8/gcc/libg++-1.39.0/src -lg++ -lm " LIBDIR="/home8/gcc/lib" SRCIDIR="/home8/gcc/libg++-1.39.0/g++-include" CC="gcc" CFLAGS=" -I/home8/gcc/lib/gcc-include -I/usr/include -I/home8/gcc/libg++-1.39.0/g++-include -g -O -fstrength-reduce -fdelayed-branch -Wall  -pipe" RANLIB="ranlib" LDXX="/home8/gcc/lib/gcc-ld"
 GXXCRT1="/home8/gcc/lib/crt1+.o" MAKE="make" prefix="/home8/gcc" VPATH="/home8/gcc/libg++-1.39.0/g++-include" AR="ar" PROTODIR="/home8/gcc/libg++-1.39.0/g++-include/gen" GENCLASS="/home8/gcc/libg++-1.39.0/genclass")
gcc -I/home8/gcc/libg++-1.39.0/g++-include -g -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall  -pipe -c  AllocRing.cc
{standard input}:36:Unknown pseudo-op:  '.global'
{standard input}:36:Rest of line ignored. 1st junk character valued 95 ().
*** Error code 1
make: Fatal error: Command failed for target `AllocRing.o'
Current working directory /home8/gcc/libg++-1.39.0/src
*** Error code 1
make: Fatal error: Command failed for target `src'

***********************************************************************

Can someone please help me in installing it.

Thanks.
reema@emc.com
From: jjb@fermi.wustl.edu (James J. Beatty)
Newsgroups: gnu.g++.help
Subject: What kind of function is prefaced by _vt$ ??
Summary: g++ functions
Keywords: g++
Date: 23 Jul 92 19:04:45 GMT
Followup-To: gnu.g++.help
Organization: Washington University Astrophysics
NNTP-Posting-Host: fermi.wustl.edu

I'm writing some g++ code and am getting a message about the symbol
_vt$Foo being undefined, where Foo is one of my classes.  What is this
symbol? 
Newsgroups: gnu.g++.help
From: veitch@vxcrna.cern.ch (Liz Veitch)
Subject: Gnu compiler problem on VMS - help!
News-Software: VAX/VMS VNEWS 1.41    
Keywords:  GNU, Motif, VMS
Organization: European Organization for Nuclear Research, CERN
Date: Thu, 30 Jul 1992 21:03:00 GMT


I've been trying to install Motif - G++ interfaces on our VAX/VMS
system, but have come up against the problem (feature?) with GLOBALREF &
GLOBALDEF, which causes the GCC compiler to choke on the Motif header
files.  

I know there is supposed to be a fix for this by using the macros in the
GNU_HACK.H file - but I haven't figured out how to do this .... please
someone enlighten me! 

We have DECMotif 1.0 (OSF 1.1) and GCC 1.37 and 2.2.2 here.

Thanks,
Liz
From: budd@fog.CS.ORST.EDU (Tim Budd)
Newsgroups: gnu.g++.help
Subject: Simple Question
Date: 30 Jul 92 16:36:35 GMT
Distribution: gnu
Organization: Oregon State University, Computer Science Dept.

Let me appologize in advance for what is probably a trivial question,
and one that is probably asked incessantly.  Our support people seemed to 
have installed g++ 2.2.2, but I can't locate any of the documentation or
test cases.  I can get templates to work within a single file, but not
split between two files.  Can somebody explain what I must do to get
the following minimalist program to work.  At present it produces linker
errors (at least on my machine).

------file box.h ------------------
template <class T> class box {
public:
	box(T val);
	T getValue();
private:
	T value;
};
-----file box.cc -----------------
# include "box.h"
template <class T> box<T>::box(T val) : value(val) { }
template <class T> T box<T>::getValue() { return value; }
-----file test.cc --------------
# include "box.h"
# include <iostream.h>
main() {
	box<int> aBox(7);
	cout << "abox contains " << aBox.getValue() << '\n';
}

many thanks.
From: staal@idt.unit.no (Staal Amund Vinterbo)
Newsgroups: gnu.g++.help
Subject: g++ on HP 9000/750
Date: 28 Jul 92 09:47:48 GMT
Organization: Div. of CS & Telematics, Norwegian Institute of Technology

Is it possible to install g++ v2.2.2 on a HP 9000/750 system?
Is it easy ? ;-)
Thank you in advance.
-staal
-- 
////   Staal Vinterbo, Norwegian institute of Technology ////
///    E-mail: staal@idt.unit.no                         ///
//             staal@solan.unit.no                       //
/      tlf: 07-520092                                    /
Newsgroups: gnu.g++.help
From: garp@isy.liu.se (Johan Garpendahl)
Subject: Re: Problems with g++ on a Sun4 SunOs 4.1.1
Organization: Dept of EE, University of Linkoping
Distribution: gnu
Date: 30 Jul 92 08:20:00 GMT

ssurhode@suma1.rdg.ac.uk (Paul Rhodes) writes:

>  I can't install g++. Our system consists of a number of Sun 4's with
>NFS mounted partitions, running SunOs 4.1.1. I have been trying to
>install g++ version 1.40.3 for ages. Originally I was finding problems
>because I was using gcc version 2.2.2 to try and make it and g++ could
>find the files that it needed (I think that's what the problem was
>anyhow).  Now, I have finally got g++ in place, but I can't get the
>library in place... (Library version 1.39.0)

I tried to answer this by mail, but some relay machine in England says 
that you don't exist.

If you have gcc 2.2.2 then you have g++ 2.2.2 as well as a compiler for 
Objective-C. They come in one package nowadays.
If you have g++ 2.2.2, you can go for libg++ 2.2. It's more fun.

If you want g++ 1.40, you need gcc 1.40.

	Johan

-- 
Johan Garpendahl                   | Email: garp@isy.liu.se
Linkoping University               | Phone: +46 - 13 - 28 13 24
Dept. of Electrical Engineering    | Fax  : +46 - 13 - 13 92 82
S-581 83  LINKOPING // SWEDEN      | This space is left blank.
Newsgroups: gnu.g++.help
From: camacs5@jhunix.hcf.jhu.edu (Sol Su)
Subject: ___builtin_delete not found??
Organization: HAC - Johns Hopkins University, Baltimore
Distribution: usa
Date: Fri, 24 Jul 1992 22:08:27 GMT

i am trying to dynamically load compiled g++ code into
S.  when the code is compiled with AT&T C++2.1 it loads
without trouble; trying to get the g++-produced image
into S yields "___builtin_delete" and "___builtin_new"
undefined symbols.  in the libg++.a, indeed the ___builtin_delete
symbol is U.  where is it resolved?

thanks.
Xref: sparky gnu.g++.help:1024 comp.lang.c++:11318 comp.std.c++:913
From: mbrinn@bbn.com (Marshall Brinn)
Newsgroups: gnu.g++.help,comp.lang.c++,comp.std.c++
Subject: G++ and 3.0
Date: 22 Jul 1992 13:46:53 GMT
NNTP-Posting-Host: bbn.com

Does anyone know of current plans for a g++ release compatible with the 3.0
or 3.1 language features?

Thanks.

Marshall Brinn
-----------------
mbrinn@bbn.com
BBN Systems and Technologies

Newsgroups: gnu.g++.help,comp.lang.c++
From: swr@curtech.UUCP (Steve Robertshaw)
Subject: g++ / c++ ifstream Class
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Date: Wed, 22 Jul 1992 19:30:21 GMT

Hi.

We have just gotten g++ up and running. We are all learning c++/g++. In my
program that I have been writing while following the AT+T C++ Language System
guide, I have been using the ifstream and ofstream classes for file i/o. These
classes have overloaded the << and >> operators so that I can use them to
properly stream and convert file data into selected variables. Is there an
analogous class available in g++? I found the File class. It, however, did not
seem to have the operator support that I was looking for. Thanks for your help.

Steve

-- 

Steve Robertshaw                curtech!swr@nic.unh.edu
Current Technology              (603) 868-2270
99 Madbury Rd.
Durham, NH   03824

Newsgroups: gnu.g++.help,comp.lang.c++,comp.std.c++