From a1a0c86538ca23d791fbcb412d70ee8d537b0e0d Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 12 2020 01:24:02 +0000 Subject: Apply patch 0003-soften-version-check.patch patch_name: 0003-soften-version-check.patch present_in_specfile: true location_in_specfile: 2 --- diff --git a/src/binding/cxx/mpicxx.h.in b/src/binding/cxx/mpicxx.h.in index c1bfe52..c0370bb 100644 --- a/src/binding/cxx/mpicxx.h.in +++ b/src/binding/cxx/mpicxx.h.in @@ -17,7 +17,7 @@ // between 3.2.3 and 3.4.3 (!!) Normally such changes // should only occur at major releases (e.g., version 3 to 4) #ifdef __GNUC__ -# if __GNUC__ >= @GNUCXX_VERSION@ +# if __GNUC__ >= @GNUCXX_VERSION@ && @GNUCXX_VERSION@ == 3 # if __GNUC_MINOR__ > 2 && @GNUCXX_MINORVERSION@ == 2 # error 'Please use the same version of GCC and g++ for compiling MPICH and user MPI programs' # endif