This is the mail archive of the gcc@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: [PATCH] caret diagnostics (was: broken FE diagnostics wrt complex expressions)


2008/8/14 Joseph S. Myers <joseph@codesourcery.com>:
>
> The solution is producing accurate location ranges, which can be used (a)
> to print more accurate expressions within the text of diagnostics in the
> existing style, (b) to print GCS-compliant ranges in text that IDEs can
> parse to highlight the relevant text in their editors (and we should
> expect that tools such as GCC and GDB are increasingly going to be used as
> a back end to other tools rather than just directly on the command line by
> users), and (c) for caret diagnostics for users liking those on the
> command line.  Caret diagnostics are only one of the styles in which the
> accurate location information can be used, and implementing an individial
> style is only a small part of the solution.  The PRs are about (a): cases
> where an expression text is displayed within the existing diagnostic text,
> badly.
>

Then, we are talking about different things and having caret
diagnostics is not the solution to anything of the above or the PRs
mentioned in the original thread but a consequence of the solution.
Thanks for clarifying this. Sorry for hijacking the thread.

Cheers,

Manuel.


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