http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263
--- Comment #37 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-26 15:08:34 UTC --- "manu at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> writes: > Awesome! :-) thank you for caring. > I still think that the output would be better if it was more consistent with > the current way of printing template instantiations, that is, using "note: > while expanding macro..." after the error/warning. If you look to the code for > printing the instantiations of templates, you'll see that it also handles long > nested templates and recursive templates. Perhaps the same code/algorithm > could > be used for printing this to avoid such problems. Yes, I think so too. I will try to do that. > In any case, you should seek comments from the decision-makers at > gcc-patches@, > not me, because whatever they want is what is going to be implemented. Sure, I will do that eventually. By the way, I started working on fixing the bug mentioned in comments 2, 8, 10, 11, 12, 13. Now we seem to have the infrastructure to do so. I will come up with a patch to fix this specifically, on top of the patcheset of this PR. Maybe I need a separate PR, I don't know.