http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45850

           Summary: support color diagnostics
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: m...@gcc.gnu.org


Support using color output to mark warnings/errors/notes.

Basically, clang's

-f[no-]color-diagnostics:
    This option, which defaults to on when a color-capable terminal is
detected, controls whether or not Clang prints diagnostics in color. When this
option is enabled, Clang will use colors to highlight specific parts of the
diagnostic.


Basis for implementation may be either diff or grep. It should be implemented
either in diagnostics.c or pretty-print.c (probably, diagnostics.c calling
pretty-print.c to enable/disable specific colors).

Reply via email to