From 045eebe78da458fd677b45435745a5b8c83990c2 Mon Sep 17 00:00:00 2001 From: Sameer Shende Date: Tue, 7 Aug 2018 15:40:00 -0500 Subject: [PATCH] Added -Werror for const error issue with LLVM underneath gcc on Mac. Former-commit-id: 8eb960d5fd9d5358845c6bae707a5ab44f5e1605 --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index fe5f06f21..def478c66 100755 --- a/configure +++ b/configure @@ -6987,6 +6987,10 @@ if [ "x$mpiinc" != "x" -o "x$mpilib" != "x" -o $mpi = yes ] ; then mpiwarnings="-qhalt=w" fi if [ $c_compiler = "clang" -o $c_compiler = "armclang" ] + then + mpiwarnings="-Werror" + fi + if [ $c_compiler = "gcc" -a $machine = apple ] then mpiwarnings="-Werror" fi