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: [RFC] improve caret diagnostics for overload failures


On 9 May 2012 15:04, Jason Merrill <jason@redhat.com> wrote:
> On 04/29/2012 06:28 AM, Manuel LÃpez-IbÃÅez wrote:
>>
>> A new Âversion using unsigned int for the flag type. It also adds
>> another use in the C FE.
>>
>> I am not asking for approval, only whether this
>> approach/implementation is the way to go.
>
>
> That looks good. ÂI would still also adjust the caret printer to avoid
> printing the same caret twice in a row even when we haven't updated the
> caller.

I could implement that by storing the last location in the
diagnostic_context or using a static location_t in
diagnostic_show_locus. What is your preference?

Cheers,

Manuel.


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