[PATCH] PING^2: Fix c++/22153

Mark Mitchell mark@codesourcery.com
Thu Oct 27 05:19:00 GMT 2005


Josh Conner wrote:

> specialization instead of as a member function.  This approach seems to
> be the most likely to match what the user was looking for, and has the
> benefit of producing the most informative error message first.

Yes, I think that's right.  Please add a comment to the code you changed
in parser.c to indicate that the specialization is actually invalid, and
that we expect the semantic analysis routines to issue an appropriate
error.  Go ahead and check in with that change -- once the svn
conversion is complete.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc-patches mailing list