From mboxrd@z Thu Jan 1 00:00:00 1970 From: rodrigc@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rodrigc@gcc.gnu.org, tebeka@lycosmail.com Subject: Re: c++/4155: internal compiler error Date: Sun, 02 Sep 2001 00:20:00 -0000 Message-id: <20010902072012.21088.qmail@sourceware.cygnus.com> X-SW-Source: 2001-09/msg00015.html List-Id: Synopsis: internal compiler error State-Changed-From-To: open->feedback State-Changed-By: rodrigc State-Changed-When: Sun Sep 2 00:20:11 2001 State-Changed-Why: I do not get an internal compiler error with gcc 3.0.1, I get the following compilation error: ============================================================= hash.cc: In member function `void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t]': hash.cc:90: instantiated from here hash.cc:48: no matching function for call to `hash::hash::insert(std::pair)' hash.cc:47: candidates are: void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t] hash.cc: In member function `const Value& hash::hash::get(const Key&) [with Key = char*, Value = hvalue_t]':hash.cc: In member function `void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t]': hash.cc:90: instantiated from here hash.cc:48: no matching function for call to `hash::hash::insert(std::pair)' hash.cc:47: candidates are: void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t] hash.cc: In member function `const Value& hash::hash::get(const hash.cc: In member function `void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t]': hash.cc:90: instantiated from here hash.cc:48: no matching function for call to `hash::hash::insert(std::pair)' hash.cc:47: candidates are: void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t] hash.cc: In member function `const Value& hash::hash::get(const Key&) [with Key = char*, Value = hvalue_t]':hash.cc: In member function `void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t]': hash.cc:90: instantiated from here hash.cc:48: no matching function for call to `hash::hash::insert(std::pair)' hash.cc:47: candidates are: void hash::hash::insert(const Key&, const Value&) [with Key = char*, Value = hvalue_t] hash.cc: In member function `const Value& hash::hash::get(const Key&) [with Key = char*, Value = hvalue_t]': Key&) [with Key = char*, Value = hvalue_t]': ============================================================= Please contact the cygwin developers about this bug at: http://cygwin.com/lists.html http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4155&database=gcc