Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Only one character is underlined, not the whole error #2408

Description

@glibg10b

Notice that only the "i" is underlined, not "iint":

image

GCC provides -fdiagnostics-parseable-fixits which shows the start and end lines and columns:

       -fdiagnostics-parseable-fixits
           Emit fix-it hints in a machine-parseable format, suitable for consumption by IDEs.  For each fix-it, a line will be printed after the relevant diagnostic, starting with the string "fix-it:".  For example:

                   fix-it:"test.c":{45:3-45:21}:"gtk_widget_show_all"

This applies to the gcc and avrgcc cpp checkers. I didn't test any of the other ones.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions