NOTE: You can use the
The following example shows the report for a specific diagnostic number.
Example 25 Printing report for a specific diagnostic number(s)
$ cadvise report -pdb testpdb -diag 2549
Report generated using "HP Code Advisor C.XX.XX [Release Time]" on <machine> at <Report Time>
Report command line: " cadvise report
"a.c", line 14: warning
LocalVar = struct_obj.a ;
^
"b.c", line 6: warning
^
"b.c", line 7: warning
b = a;
^
6.8 Generating reports based on severity
The
NOTE: You can use the
The following example shows the command to generate report based on severity.
Example 26 Generating reports based on severity
$ cadvise report
This command prints all diagnostics of severity levels greater than or equal to two.
6.9 Suppressing diagnostics for specific files
The
NOTE: You can use the
The following example shows the elimination of strings from a file.
6.8 Generating reports based on severity | 31 |