Article View: gnu.g++.bug
Article #1142(none)
From: witold
Date: Thu, 12 Nov 1992 08:46
Date: Thu, 12 Nov 1992 08:46
54 lines
1560 bytes
1560 bytes
Hi!
It's me again.
After typing:
gcc -lg++ wbug2.cc
where "wbug2.cc" looks like:
#include <fstream.h>
main()
{
fstream MyFile;
int N = 5;
double Aux;
MyFile.open("ble.ble", ios::out);
MyFile << N;
MyFile.close();
}
I obtained:
wbug2.cc: In function 'int main()':
wbug2.cc:10: undefined fstream operator << ()
Other informations:
computer and system:
IBM RISC System/6000 AIX Version 3.2.1
compiler:
gcc version 2.3.1
library:
GNU C++ library v. 2.0
Unfortunately I am not able to say something about configure command.
As a matter of fact I remember that the compilation of the compiler wasn't
very smooth but afterwards we run checking procedures without any problems.
We didn't make any modifications to the compiler itself.
To be frank it seems to me impossible, that you forgot to define "<<" for
integer numbers, so inform me, please, if my informations have any value
or I just have damaged compiler, wrong configuration or something like that.
Sincerely yours, W.
witold@gaga.maschinenbau.uni-dortmund.de
Technical Details
Message-ID:
<9211122046.AA19081@gaga.maschinenbau.uni-dortmund.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!know!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gaga.maschinenbau.uni-dortmund.de!witoldShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gaga.maschinenbau.uni-dortmund.de!witold From: witold@gaga.maschinenbau.uni-dortmund.de Newsgroups: gnu.g++.bug Subject: (none) Message-ID: <9211122046.AA19081@gaga.maschinenbau.uni-dortmund.de> Date: 12 Nov 92 08:46:43 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 54 Approved: bug-g++@prep.ai.mit.edu