Re: C++ PATCH for c++/49117 (error message regression on conversion failure)

2011-06-18 Thread Jakub Jelinek
On Tue, Jun 14, 2011 at 01:38:41PM -0400, Jason Merrill wrote: > commit 16136651e85c19a1e8338a0bd1b2b1a453413c23 > Author: Jason Merrill > Date: Tue Jun 14 09:43:25 2011 -0400 > > * error.c (type_to_string): Print typedef-stripped version too. > > diff --git a/gcc/cp/error.c b/gcc/cp/err

C++ PATCH for c++/49117 (error message regression on conversion failure)

2011-06-14 Thread Jason Merrill
PR 49117 complains that the error message given on conversion failure regressed from 4.5 to 4.6 in that it no longer prints the source type. So I've added it back in. While I was at it, I've also tweaked the compiler to also print the typedef-stripped version of a type when appropriate, which