diff --git a/tgt-vlog95/Makefile.in b/tgt-vlog95/Makefile.in index 19428f2e9..69a57b618 100644 --- a/tgt-vlog95/Makefile.in +++ b/tgt-vlog95/Makefile.in @@ -56,7 +56,8 @@ distclean: clean rm -f Makefile config.log cppcheck: $(O:.o=.c) - cppcheck --enable=all -f $(INCLUDE_PATH) $^ + cppcheck --enable=all -f --suppressions-list=$(srcdir)/cppcheck.sup \ + --relative-paths=$(srcdir) $(INCLUDE_PATH) $^ Makefile: $(srcdir)/Makefile.in ../config.status cd ..; ./config.status --file=tgt-vlog95/$@ diff --git a/tgt-vlog95/cppcheck.sup b/tgt-vlog95/cppcheck.sup new file mode 100644 index 000000000..f1a757bf9 --- /dev/null +++ b/tgt-vlog95/cppcheck.sup @@ -0,0 +1,8 @@ +// These are the global access functions called from the compiler so they +// are not used here. + +// target_design() +unusedFunction:vlog95.c:59 + +// target_query() +unusedFunction:vlog95.c:226