c++/4155: internal compiler error
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Sun Sep 2 00:20:00 GMT 2001
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
More information about the Gcc-bugs
mailing list