From: wjae AT plex DOT nl (Wiel Aerts) Newsgroups: comp.os.msdos.djgpp Subject: internal compiler error Date: Mon, 18 Jan 1999 17:39:38 GMT Organization: Plex -- a public access Internet provider Lines: 41 Message-ID: <36a371a4.5284094@news.plex.nl> NNTP-Posting-Host: 194.229.212.136 X-Newsreader: Forte Free Agent 1.11/32.235 X-Posted-through: WHIRLwind.plex.nl for unknown AT dialin-1c53 DOT plex DOT nl (WHIRLwind.plex.nl!unknown AT dialin-1c53 DOT plex DOT nl) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I tried to compile some code using hash_map from STL For type string it is neccessary to specialize the hash function, so i tried: #include #include template <> size_t hash (string s) { <--- error return hash (s.c_str()); } int main () { return 0; } with g++ -Wall -c test.cc I got: In file included from c:/djgpp/lang/cxx/hash_map:31, from test.cc:3: c:/djgpp/lang/cxx/stlhashtable.h:150: warning: decimal integer constant is so large that it is unsigned c:/djgpp/lang/cxx/stlhashtable.h:150: warning: decimal integer constant is so large that it is unsigned test.cc:7: Internal compiler error 9. test.cc:7: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'. Is this someting that can not be done or is there a real bug? (should I submit this bug report and how to do that?) gcc version 2.8.1 Thanks Wiel Aerts