Some time ago I wrote a blog, now I would like to parsing the error to work in the end so that I can click Lint information / warning / error line and it jumps to that place in code. There are some standard approaches, but I can not get them to work. I am open to a general answer or to a specific answer for one of the questions given below.
-
Using a Mayfile instead of an external device I used Managed Build but I have got closer and now in the construction of my management, I have a configuration that is not a build instead of build. Try running print the only problem is that it keeps adding some command "-k" option in Eclipse, which fails due to lint. Does anyone know how to keep Eclipse from adding that option? (If I remove it, then it just comes back).
-
Another way to open a console Parsing the output in the window is called the error link that looks correct. Unfortunately, I can not either construct a consistent regular expression or I'm not configuring the tool to run properly for the lint. Rather, the rare instructions say that adding XE to the XML file. I found the XML file and
& lt; Console line track class = "net.sourceforge.sunshade.errorlink.RegexpLineTracker" process type = "lint-nt" id = "regexpLineTracker" & gt;
& lt; / ConsoleLineTracker & gt;
Then I tried a simple regex (someFileName`.cpp), where I made sure that someFileName.cpp is shown in the result, but no links are generated I can not tell if the error link plug-in actually ran, but I'm guessing that it was not. So has he ever used this plug-in? Any sign on how to work with lint?
-
Go to the Behavior tab, uncheck "Clear", your lint Add option to (solve this problem for me)
-
Go to:
Menu Bar: Window | Preferences / Navigation Tree: C / C ++ | Select the Create tab: "Error parser"Click "Add" to the right of the parser list, and name it like "My Funky PClint Regx" and select it
Click
For example a complete list
- Seriousness: info in the "Error Parse option" box "Add"
- Pattern: (. ) ([0-9] ): Error - & gt; Information:. $ 1
- Line: $ 2
- Description: $ 3
And - Seriousness: Warning - Pattern: (. ) [0-9] ): Error - & gt; Warning (. *) - File: $ 1 - Row: $ 2 - Description: $ 3
Alert and information are very sieve any tweaking regex is welcome.
-
Comments
Post a Comment