Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4383

Add a "gcc-include" parser

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: All, OS: All

    Description

      Hi,

      It might be interesting to add a "gcc-include" parser.
      I noticed that Emacs does have a "gcc-include" parser (visible from its
      "compilation-error-regexp-alist-alist" variable - highlights appearing in
      compilation mode), which differs from its own GNU parser, that why I suggest
      this enhancement.

      The current regexp pattern in Emacs is the following :
      "^(?:In file included| ) from (.)[0-9])(?|(,))?"

      From the example below :
      "
      In file included from /usr/include/c++/3.3/backward/warn.h:4,
      from /usr/include/c++/3.3/backward/iostream.h:31,
      from test_clt.cc:1:
      "
      ... Emacs will parse the two first line as "information" and the third line as
      an "error".

      If you think it's interesting to add this parser, the parsing could be
      Priority.LOW for the two fist line and Priority.HIGH for the third line, or
      whatever you think is better.

      Attachments

        Activity

          metavalon metavalon created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 134456 ] JNJira + In-Review [ 202852 ]

          People

            drulli Ulli Hafner
            metavalon metavalon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: