Internal compiler error 364

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Thu Apr 30 15:07:00 GMT 1998


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/




More information about the Gcc-bugs mailing list