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

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!csi.jpl.nasa.gov!mwette
  3. From: mwette@csi.jpl.nasa.gov (Matt Wette)
  4. Subject: template bug in 2.3.3
  5. Message-ID: <9301031854.AA10234@csi.jpl.nasa.gov>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Sun, 3 Jan 1993 18:54:18 GMT
  10. Approved: bug-g++@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13. There seems to be a bug in g++ when one hits multiple undefined templates ...
  14.  
  15.  Script started on Fri Jan  1 23:12:20 1993
  16.  bash$ head -1 /etc/motd
  17.  SunOS Release 4.1.3 (CSI.4) #1: Thu Dec 31 12:52:58 PST 1992
  18.  bash$ cat zz.cc
  19.  class A;
  20.  class B;
  21.  
  22.  class T<A>;
  23.  class T<B>;
  24.  bash$ g++ -c zz.cc
  25.  Reading specs from /usr/local/lib/gcc-lib/sun4-sunos4/2.3.3/specs
  26.  gcc version 2.3.3
  27.   /usr/local/lib/gcc-lib/sun4-sunos4/2.3.3/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 zz.cc /usr/tmp/cca14349.i
  28.  GNU CPP version 2.3.3 (sparc)
  29.   /usr/local/lib/gcc-lib/sun4-sunos4/2.3.3/cc1plus /usr/tmp/cca14349.i -quiet -dumpbase zz.cc -version -o /usr/tmp/cca14349.s
  30.  GNU C++ version 2.3.3 (sparc) compiled by GNU C version 2.3.2.
  31.  zz.cc:4: parse error before `<'
  32.  zz.cc:5: Non-template type 'T' used as a template
  33.  zz.cc:5: Internal compiler error.
  34.  zz.cc:5: Please report this to `bug-g++@prep.ai.mit.edu'.
  35.  bash$ exit
  36.  exit
  37.  
  38.  script done on Fri Jan  1 23:12:54 1993
  39.  
  40.  
  41.