Skip to content

Not being taken to the compiler error when building with Xbuild fails. #7

Description

@Goles

When there's a compiler error and some warnings in the project, I usually end up where some warning is located instead of being taken to the error location.

Activity

  1. eraserhd commented on Dec 17, 2012

    @eraserhd
    Owner

    Thanks for the report! I've noticed this, but haven't been motivated to fix it until now. I hope to spend some time on this today.

    My plan is to write a filter which removes noise (I get some things as errors which aren't) and sorts the warnings to the end.

  2. eraserhd commented on Dec 17, 2012

    @eraserhd
    Owner

    This doesn't fix the warnings problem, but putting this in your .vimrc will filter a lot of noise:

    set errorformat=
      \%f:%l:%c:{%*[^}]}:\ error:\ %m,
      \%f:%l:%c:{%*[^}]}:\ fatal\ error:\ %m,
      \%f:%l:%c:{%*[^}]}:\ warning:\ %m,
      \%f:%l:%c:\ error:\ %m,
      \%f:%l:%c:\ fatal\ error:\ %m,
      \%f:%l:%c:\ warning:\ %m,
      \%f:%l:\ error:\ %m,
      \%f:%l:\ fatal\ error:\ %m,
      \%f:%l:\ warning:\ %m
  3. Goles commented on Dec 22, 2012

    @Goles
    Author

    Thanks, will try this out.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions