On 06/14/2011 01:38 PM, Jason Merrill wrote: > While I was at it, I've also tweaked the compiler to also print the > typedef-stripped version of a type when appropriate, which should help > with understanding template error messages. I noticed that this was sometimes printing an aka that was exactly the same, which looks a bit goofy. So this patch makes sure that the typedef-stripped version actually prints out differently before appending the {aka}. Tested x86_64-pc-linux-gnu. Gaby: I'm not entirely comfortable messing directly with the obstack here, but the pp interface doesn't seem to support multiple strings at once. Does this approach make sense to you, or do you have a better idea?