This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 364
- To: Anthony Shipman <als at tusc dot com dot au>
- Subject: Re: Internal compiler error 364
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Fri, 1 May 1998 00:07:10 +0200 (MET DST)
- cc: egcs-bugs at cygnus dot com
On Fri, 1 May 1998, Anthony Shipman wrote:
> The following faulty source code causes the compiler to crash.
With the current CVS snapshot of egcs this does not happen any more.
However, I get
In file included from /sw/swtest/egcs/include/g++/hash_map.h:31, from x.cc:1:
/sw/swtest/egcs/include/g++/stl_hashtable.h:593: non-template type
`hashtable' used as a template
/sw/swtest/egcs/include/g++/stl_hashtable.h:594: non-template type
`hashtable' used as a template
/sw/swtest/egcs/include/g++/stl_hashtable.h:595: warning: ANSI C++ forbids
declaration `ht1' with no type
/sw/swtest/egcs/include/g++/stl_hashtable.h:595: warning: ANSI C++ forbids
declaration `ht2' with no type
/sw/swtest/egcs/include/g++/stl_hashtable.h:595: `operator ==(const int &,
const int &)' must have an argument of class or enumerated type
:
:
which indicates there is a serious problem with either egcs or SGI's STL.
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/