From 69cca02db8de80df74bb113429c95518e4fd7281 Mon Sep 17 00:00:00 2001 From: Satish Balay Date: Thu, 13 Oct 2016 09:02:19 -0500 Subject: [PATCH] test: remove false positive errorcheck with -Werror=format-security option --- lib/petsc/conf/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/petsc/conf/rules b/lib/petsc/conf/rules index 3716e42..bf09884 100644 --- a/lib/petsc/conf/rules +++ b/lib/petsc/conf/rules @@ -488,6 +488,7 @@ getautoconfargs: grep -v "may result in errors or" | \ grep -v "clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated" | \ grep -v "is deprecated" | \ + grep -v "Werror=format-security" | \ egrep -i '(Error|warning|Can|Unresolved)' >> /dev/null;\ if [ "$$?" != 1 ]; then \ printf ${PETSC_TEXT_HILIGHT}"*******************Error detected during compile or link!*******************\n";\ @@ -533,6 +534,7 @@ getautoconfargs: grep -v "IPO Error: unresolved" | \ grep -v "warning multiple definitions of symbol _matdensegetarray_" | \ grep -v "clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated" | \ + grep -v "Werror=format-security" | \ egrep -i '(Error|warning|Can|Unresolved)' >> /dev/null ; \ if [ "$$?" != 1 ]; then \ printf ${PETSC_TEXT_HILIGHT}"*******************Error detected during compile or link!*******************\n";\ -- 2.7.4.1.g5468f9e