🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1198

include <iostream.h> causes compiler to choke

#1198
From: dap
Date: Fri, 01 Jan 1993 19:28
30 lines
1741 bytes
... when -fansi-exceptions are turned on.  These exceptions are
mighty fancy, probably not fANSI, and definitely not useful.

% cat test.cc
//
// test - just test some things
//

#include <iostream.h>

main(int c, char **v) {

  cout << "Good bye, world\n";

  throw "up";
}

% /usr/local/bin/g++ -v -fansi-exceptions -c test.cc
Reading specs from /usr/local/lib/gcc-lib/i386-bsdi/2.3.3/specs
gcc version 2.3.3
 /usr/local/lib/gcc-lib/i386-bsdi/2.3.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dunix -Di386 -D__bsdi__ -Dbsdi -DBSD_NET2 -D__unix__ -D__i386__ -D__bsdi__ -D__bsdi__ -D__BSD_NET2__ -D__unix -D__i386 -D__bsdi__ -D__bsdi -D__BSD_NET2 test.cc /var/tmp/cc000469.i
GNU CPP version 2.3.3 (80386, BSD syntax)
 /usr/local/lib/gcc-lib/i386-bsdi/2.3.3/cc1plus /var/tmp/cc000469.i -quiet -dumpbase test.cc -version -fansi-exceptions -o /var/tmp/cc000469.s
GNU C++ version 2.3.3 (80386, BSD syntax) compiled by GNU C version 2.3.3.
/usr/local/lib/g++-include/streambuf.h: In method `class ostream* ios::tie ()const ':
In file included from /usr/local/lib/g++-include/iostream.h:24, from test.cc:5:
/usr/local/lib/g++-include/streambuf.h:140: Internal compiler error.
/usr/local/lib/g++-include/streambuf.h:140: Please report this to `bug-g++@prep.ai.mit.edu'.
*** Error code 1 (continuing)
`test' not remade because of errors.
Technical Details
Message-ID: <9301020728.AA07219@fubar>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!fubar.UUCP!dap

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!fubar.UUCP!dap
From: dap@fubar.UUCP
Subject: include <iostream.h> causes compiler to choke
Message-ID: <9301020728.AA07219@fubar>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 1 Jan 1993 19:28:09 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 33