This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4155: internal compiler error
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rodrigc at gcc dot gnu dot org, tebeka at lycosmail dot com
- Subject: Re: c++/4155: internal compiler error
- From: rodrigc at gcc dot gnu dot org
- Date: 2 Sep 2001 07:20:12 -0000
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<Key, Value>::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<char*,
hvalue_t>::insert(std::pair<char* const, hvalue_t>)'
hash.cc:47: candidates are: void hash::hash<Key, Value>::insert(const Key&,
const Value&) [with Key = char*, Value = hvalue_t]
hash.cc: In member function `const Value& hash::hash<Key, Value>::get(const
Key&) [with Key = char*, Value = hvalue_t]':hash.cc: In member function `void hash::hash<Key, Value>::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<char*,
hvalue_t>::insert(std::pair<char* const, hvalue_t>)'
hash.cc:47: candidates are: void hash::hash<Key, Value>::insert(const Key&,
const Value&) [with Key = char*, Value = hvalue_t]
hash.cc: In member function `const Value& hash::hash<Key, Value>::get(const
hash.cc: In member function `void hash::hash<Key, Value>::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<char*,
hvalue_t>::insert(std::pair<char* const, hvalue_t>)'
hash.cc:47: candidates are: void hash::hash<Key, Value>::insert(const Key&,
const Value&) [with Key = char*, Value = hvalue_t]
hash.cc: In member function `const Value& hash::hash<Key, Value>::get(const
Key&) [with Key = char*, Value = hvalue_t]':hash.cc: In member function `void hash::hash<Key, Value>::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<char*,
hvalue_t>::insert(std::pair<char* const, hvalue_t>)'
hash.cc:47: candidates are: void hash::hash<Key, Value>::insert(const Key&,
const Value&) [with Key = char*, Value = hvalue_t]
hash.cc: In member function `const Value& hash::hash<Key, Value>::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