Blame SOURCES/0003-soften-version-check.patch

6969cb
diff --git mpich-3.2/./src/binding/cxx/mpicxx.h.in~ mpich-3.2/./src/binding/cxx/mpicxx.h.in
6969cb
index 375c081e0e..24f1d6c2cc 100644
6969cb
--- mpich-3.2/./src/binding/cxx/mpicxx.h.in~
6969cb
+++ mpich-3.2/./src/binding/cxx/mpicxx.h.in
6969cb
@@ -17,7 +17,7 @@
6969cb
 // between 3.2.3 and 3.4.3 (!!)  Normally such changes
6969cb
 // should only occur at major releases (e.g., version 3 to 4)
6969cb
 #ifdef __GNUC__ 
6969cb
-# if __GNUC__ >= @GNUCXX_VERSION@ 
6969cb
+# if __GNUC__ >= @GNUCXX_VERSION@ && @GNUCXX_VERSION@ == 3
6969cb
 #  if __GNUC_MINOR__ > 2 && @GNUCXX_MINORVERSION@ == 2 
6969cb
 #  error 'Please use the same version of GCC and g++ for compiling MPICH and user MPI programs'
6969cb
 #  endif