This is the mail archive of the gcc-patches@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] |
>>>>> Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de> writes: > It is not clear what the error is. As far as I can tell, g++ is right > in calling a function instead of a template specialization. Yep. > I don't know how to check for the (good) linker error, so I told it not > to link. You could define the plain function and check that it is called. > ! friend ostream& operator<< (ostream& out, const Vector<T> & vec); // ERROR - This should be a WARNING. Or compile with -w. Jason
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |