5
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2 |
<html lang="en">
|
|
3 |
|
|
4 |
<head>
|
|
5 |
<meta http-equiv="Content-Language" content="en-us">
|
|
6 |
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
7 |
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
8 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
9 |
<title>Filtering errors</title>
|
|
10 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
11 |
</head>
|
|
12 |
|
|
13 |
<body>
|
|
14 |
|
|
15 |
<h1>Filtering errors</h1>
|
|
16 |
|
|
17 |
<p>The Error Parsers page of the Properties window lists a set of filters that detect error patterns in
|
|
18 |
the build output log.</p>
|
|
19 |
|
|
20 |
<p>If an error or warning is detected, an icon appears on the file in the Tasks
|
|
21 |
view. If the file is not found, the icon appears on the project.</p>
|
|
22 |
|
|
23 |
<p>You can define the properties on a per project basis in the New CDT Project
|
|
24 |
wizard, in the C/C++ Projects view, or in the Navigator view. You can also define
|
|
25 |
project properties in the Preferences window for future make projects.</p>
|
|
26 |
|
|
27 |
<p>To select error parsers:</p>
|
|
28 |
|
|
29 |
<ol>
|
|
30 |
<li>Do one of the following:</li>
|
|
31 |
<ul>
|
|
32 |
</ol>
|
|
33 |
<li>To set properties for makefile projects, do the following:
|
|
34 |
<ol>
|
|
35 |
<li>Select <b>Window > Preferences </b>.
|
|
36 |
<li>Expand <b>C/C++</b>.
|
|
37 |
<li>Expand <b>New CDT project wizard</b>.
|
|
38 |
<li>Click <b>Makefile Project</b>.</li>
|
|
39 |
</ol>
|
|
40 |
<li>For a typical make project, do the following:
|
|
41 |
<ol>
|
|
42 |
<li>In the C/C++ Projects view, right-click the project, and select <b>Properties</b>.
|
|
43 |
<li>Expand <b>C/C++ Build</b>.</li>
|
|
44 |
<li>Select <b>Settings</b>.
|
|
45 |
</ol>
|
|
46 |
</li>
|
|
47 |
</ul>
|
|
48 |
<li>Click the <b>Error Parsers</b> tab.</li>
|
|
49 |
<li>In the <b>Error parsers</b> list, select error parsers.</li>
|
|
50 |
<li>Click <b>OK</b>.</li>
|
|
51 |
</ol>
|
|
52 |
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
53 |
<br>
|
|
54 |
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
|
|
55 |
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
|
|
56 |
|
|
57 |
|
|
58 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
59 |
<br>
|
|
60 |
<a href="../reference/cdt_u_newproj_parser_error.htm">Error Parsers, C/C++ Properties window</a></p>
|
|
61 |
|
|
62 |
|
|
63 |
<img src="../images/ng00_04a.gif" ALT="QNX Copyright Statement" >
|
|
64 |
|
|
65 |
</body>
|
|
66 |
|
|
67 |
</html> |