This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.3 operator[] disambiguation
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: Alexy Khrabrov <alexy dot khrabrov at setup dot org>, gcc at gcc dot gnu dot org
- Date: Tue, 24 Jun 2003 18:16:06 -0500
- Subject: Re: gcc 3.3 operator[] disambiguation
> I switched from gcc 2.95.3 to 3.3 for MICO 2.3.10,
> a CORBA C++ implementation, and got this most amazing
> error ever:
I'm sorry, but I can't resist, since aparently you ain't seen nothing yet.
This is my favorite:
dof_handler.h(32): error: the type of partial specialization template
parameter template template parameter "DH" depends on another template
parameter
template<int dim, template<int> class DH> class DoFObjectAccessor<2, dim,DH>
Needless to say, the code was legal and the compiler wrong. I won't say,
though, which compiler generated it ;-)
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/