Example 44 Reporting options interoperability
$ cadvise report -pdb test.pdb -diag 2549 -exclude b.c
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
;
$ cadvise report
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
^
"b.c", line 6: warning
^
"b.c", line 7: warning
^
In this example if any option, such as
Example 45 Ignoring the -include option
$ cadvise report -pdb test.pdb -summary -include "a.c:b.c"
report: warning: Filtering options do not affect
Report generated using "HP Code Advisor C.XX.XX [Release Time]" on <machine> at <Report Time> Report command line: " cadvise report
=============================== SUMMARY REPORT==================================
Unique warnings: 257
Duplicate warnings: 0
Sev. Count | Diagnostic Message |
|
| ||
5 | 1 | warning | |||
5 | 4 | warning | |||
5 | 10 | warning | pointer | arithmetic expression%s | |
5 | 12 | warning | |||
5 | 20 | warning | be used | in array index expression%s | |
5 | 23 | warning | be used | in loop exit condition computation%s | |
3 | 1 | remark | identifier | ||
3 | 2 | remark | insert an extra ';'? |
6.21 Report options interoperability | 41 |