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