[Bug c++/89326] [RFE] Highlight `required from here` in compile-error output

2019-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89326

--- Comment #3 from Jonathan Wakely  ---
I think it highlights all lines where the location is the main source file, so
they stand out from anything with a location in a header.

[Bug c++/89326] [RFE] Highlight `required from here` in compile-error output

2019-02-13 Thread Hi-Angel at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89326

--- Comment #2 from Konstantin Kharlamov  ---
Btw, I just occasionally noted: godbolt site adds their own highlight to GCC
output, in particular they highlight the whole line with "required from here"
with blue. Maybe something can be borrowed from them :)

https://godbolt.org/z/dK0CzG

[Bug c++/89326] [RFE] Highlight `required from here` in compile-error output

2019-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89326

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-02-13
 CC||dmalcolm at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Jonathan Wakely  ---
I like this idea.

[Bug c++/89326] [RFE] Highlight `required from here` in compile-error output

2019-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89326

Jonathan Wakely  changed:

   What|Removed |Added

   Severity|normal  |enhancement