This is the mail archive of the gcc@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]
Other format: [Raw text]

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/


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