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