HP Integrity NonStop J-Series User Manual
Page 100
Figure 53 Symbols tab of the Path and Symbols property page
Disabling specific code analysis errors and warnings
You can selectively disable code analysis errors and warnings using project properties for code
analysis. For example,
Example 13 “Errors for get_dept_rec removed”
in the previous section
shows a C/C++ editor that marks SQL record fields as errors, as the code analyzer does not have
definitions of those fields. To disable that type of error:
1.
Select the project containing the source file in the NonStop Project Explorer view.
2.
Select Properties from the context menu of the NonStop Project Explorer view.
3.
In the Properties dialog, select C/C++ General
→Code Analysis.
4.
In the Code Analysis page, select the Use project settings button, then deselect the Field cannot
be resolved check box as in
. (Alternatively: you could select Configure
Workspace Settings… to change settings across all projects.)
5.
Select OK to apply the change and dismiss the dialog.
6.
If the record fields are still shown with errors, select Index
→Rebuild from the context menu of
the NonStop Project Explorer view. The errors will be cleared.
100 Tasks