internal compiler error (again)
Marc Espie
espie@quatramaran.ens.fr
Tue Oct 27 19:21:00 GMT 1998
In article < 199810271956.MAA18502@helicon.physics.colostate.edu > you write:
>FWIW, the platform is Linux (RedHat 5.1)
>Compiler version is egcs-2.91.57 19980901 (egcs-1.1 release)
>The following (incorrect) code produces an internal compiler error:
[snip]
Apparently, it's fixed. Snapshot 981026 yields:
t.C: In function `class map<K,set<T,less<T>,allocator<_T2> >,less<_Key>,allocator<set<T,less<T>,allocator<_T2> > > > Assign_Union(class map<K,set<T,less<T>,allocator<_T2> >,less<_Key>,allocator<set<T,less<T>,allocator<_T2> > > > &, const class map<K,set<T,less<T>,allocator<_T2> >,less<_Key>,allocator<set<T,less<T>,allocator<_T2> > > > &)':
t.C:8: type/value mismatch at argument 1 in template parameter list for `template <class _Key, class _Compare = struct less<_Key>, class _Alloc = class allocator<_Tp1>> set<_Key,_Compare,_Alloc>'
t.C:8: expected a type, got `Key'
t.C:8: template argument 1 is invalid
t.C:8: template argument 2 is invalid
t.C:8: template argument 1 is invalid
t.C:8: template argument 3 is invalid
t.C:8: warning: ANSI C++ forbids declaration `keys' with no type
More information about the Gcc-bugs
mailing list