This is the mail archive of the gcc-prs@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: c++/4155: internal compiler error


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


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