This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Internal compiler error 364


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]