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]
Other format: [Raw text]

Re: [C++ Patch] PR 49152


On Sun, Apr 15, 2012 at 8:54 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> .. hi all, hi Gaby,
>
> a couple of days ago, Manuel suggested in the audit trail of the main "caret
> diagnostics" PR, that now that we actually have got a form of it, the kind
> of change I proposed to resolve PR 49152 may make much more sense. In any
> case, my original patch still regtests fine today.
>
> What do you think?

a hybrid approach; I would suggest something like this: (a) if caret
is in effect, then print
the caret pointing to the symbol in question; otherwise (b) print the
symbol and the type (as suggested by Marc).
This is all best abstracted in a separate function.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]