>From 43a4b31ecb6a6a13b09f42b5ecef98e40ab31123 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ana=20Guerrero=20L=C3=B3pez?= <aguerrero@suse.com>
Date: Thu, 14 Mar 2019 16:12:56 +0100
Subject: [PATCH] Remove obsolete GCC check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This check was added due to a problem with GCC 3 and currently
MPICH supports GCC >= 4.1
Keeping this code around forces to rebuild mpich every time there
is a new minor version of GCC. Even when it shouldn't be a problem
using different GCC minor versions belonging to the same release
series.

Signed-off-by: Ana Guerrero L��pez <aguerrero@suse.com>
---
 src/binding/cxx/buildiface | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/binding/cxx/buildiface b/src/binding/cxx/buildiface
index 6c17990ae..52c224066 100755
--- a/src/binding/cxx/buildiface
+++ b/src/binding/cxx/buildiface
@@ -1454,21 +1454,6 @@ sub printDefineChecks {
 #endif\n\n";
     }
 
-    # GCC changed the calling convention between 3.2.3 and 3.4.3 (!!!)
-    # check for that
-    print $OUTFD "
-// Check for incompatible GCC versions
-// GCC (specifically) g++ changed the calling convention
-// 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_MINOR__ > 2 && \@GNUCXX_MINORVERSION\@ == 2 
-#  error 'Please use the same version of GCC and g++ for compiling MPICH and user MPI programs'
-#  endif
-# endif     
-#endif\n";
-
     print $OUTFD "
 /* 
  * Because the API is defined, some methods have parameters that are 
-- 
2.21.0

