This is the mail archive of the gcc-bugs@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: EGCS 2.91.66 on Linux reporting an internal error


> I've also attached the .ii file as a bzip2.  It's about 26K.

Thanks for your bug report. The mainline compiler (2.96 20000302
(experimental)) says

trie.h: At top level:
trie.h:56: ISO C++ forbids declaration of `makeList' with no type
trie.h: In method `Trie<E>::Node *Trie<E>::Node::insert (const char *,
trie.h: E *) [with E = int]':
trie.h:22:   instantiated from `Trie<E>::insert (const char *, E *) [with E = int]'
trie.cpp:19:   instantiated from here
trie.h:81: cannot convert `const char *' to `char *' in assignment
trie.cpp: In function `int main ()':
trie.cpp:22: calling type `template <T, Alloc> class list' like a
trie.cpp:22: method

so the bug appears to be fixed.

Regards,
Martin

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