From ce33c1f2f56c451bf10fa913477ba6d61eed2031 Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Fri, 5 Jun 2015 14:26:19 +0200
Subject: [PATCH] Do not report errors from lapack and blas

Apparently with the changes in the CPP macros cppcheck
now scan the whole blas/lapack source and complains.

I removed these complaining from the fatal ones
---
 src/maketools/cppcheck | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/maketools/cppcheck b/src/maketools/cppcheck
index b882ca6de..1c1355673 100755
--- a/src/maketools/cppcheck
+++ b/src/maketools/cppcheck
@@ -26,7 +26,7 @@ cppcheck --std=c++03 --std=posix -j 4 --platform=unix64 \
 ## perhaps we could keep some of them to make to code cleaner at some point
 ##
 ## (the "true" command is necessary so that the script does not fail if some string is not found)
-grep -v "(style)" cppcheck.log | grep -v "\[molfile/" > cppcheck.fatal || true
+grep -v "(style)" cppcheck.log | grep -v "\[molfile/" | grep -v "\[lapack/" | grep -v "\[blas/"> cppcheck.fatal || true
 count=$(cat cppcheck.fatal | wc -l)
 echo 
 echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
-- 
GitLab