home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / bug / 2108 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.7 KB  |  46 lines

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!fubar.UUCP!dap
  3. From: dap@fubar.UUCP
  4. Subject: include <iostream.h> causes compiler to choke
  5. Message-ID: <9301020728.AA07219@fubar>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 1 Jan 1993 19:28:09 GMT
  10. Approved: bug-g++@prep.ai.mit.edu
  11. Lines: 33
  12.  
  13. ... when -fansi-exceptions are turned on.  These exceptions are
  14. mighty fancy, probably not fANSI, and definitely not useful.
  15.  
  16. % cat test.cc
  17. //
  18. // test - just test some things
  19. //
  20.  
  21. #include <iostream.h>
  22.  
  23. main(int c, char **v) {
  24.  
  25.   cout << "Good bye, world\n";
  26.  
  27.   throw "up";
  28. }
  29.  
  30. % /usr/local/bin/g++ -v -fansi-exceptions -c test.cc
  31. Reading specs from /usr/local/lib/gcc-lib/i386-bsdi/2.3.3/specs
  32. gcc version 2.3.3
  33.  /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
  34. GNU CPP version 2.3.3 (80386, BSD syntax)
  35.  /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
  36. GNU C++ version 2.3.3 (80386, BSD syntax) compiled by GNU C version 2.3.3.
  37. /usr/local/lib/g++-include/streambuf.h: In method `class ostream* ios::tie ()const ':
  38. In file included from /usr/local/lib/g++-include/iostream.h:24, from test.cc:5:
  39. /usr/local/lib/g++-include/streambuf.h:140: Internal compiler error.
  40. /usr/local/lib/g++-include/streambuf.h:140: Please report this to `bug-g++@prep.ai.mit.edu'.
  41. *** Error code 1 (continuing)
  42. `test' not remade because of errors.
  43.  
  44.  
  45.  
  46.