Re: strange warning

2001-09-05 Thread Martin v. Loewis
> G++ emits strange warning. It is really annoying me, because I > include similar header to many files. I recommend to use different names for the template parameters of the derived template, different from the names of the template parameters in the base class. Note that the warning als

strange warning

2001-08-27 Thread Alexei Khlebnikov
G++ emits strange warning. It is really annoying me, because I include similar header to many files. This is the code. === begin === template class A { //public: private: typedef _TTN _TN; }; template class B : virtual public A <_TN, _NY> { _TN func () = 0; }; === end === This w