BIND 10 #2726: New cppcheck reports
BIND 10 Development
do-not-reply at isc.org
Wed Feb 13 05:24:25 UTC 2013
#2726: New cppcheck reports
-------------------------------------+-------------------------------------
Reporter: muks | Owner:
Type: defect | Status: new
Priority: medium | Milestone: Next-
Component: Unclassified | Sprint-Proposed
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Comment (by muks):
Please add this patch to $topsrcdir/Makefile.am when you fix this bug:
{{{
diff --git a/Makefile.am b/Makefile.am
index fe995a7..f4a1e22 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -110,7 +110,7 @@ report-coverage: report-cpp-coverage report-python-
coverage
# for static C++ check using cppcheck (when available)
cppcheck:
- cppcheck --enable=all --suppressions src/cppcheck-suppress.lst
--inline-suppr \
+ cppcheck -I./src/lib --enable=all --suppressions src/cppcheck-
suppress.lst --inline-suppr \
--quiet --error-exitcode=1 \
--template '{file}:{line}: check_fail: {message}
({severity},{id})' \
src
}}}
This adds the `src/lib/` directory to the include path.
--
Ticket URL: <http://bind10.isc.org/ticket/2726#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list