[mpich2-commits] r7899 - mpich2/trunk/src/binding/cxx
gropp at mcs.anl.gov
gropp at mcs.anl.gov
Thu Feb 3 16:02:48 CST 2011
Author: gropp
Date: 2011-02-03 16:02:48 -0600 (Thu, 03 Feb 2011)
New Revision: 7899
Modified:
mpich2/trunk/src/binding/cxx/buildiface
Log:
Improved and corrected test for GNU compiler version for mpicxx args unused fix
Modified: mpich2/trunk/src/binding/cxx/buildiface
===================================================================
--- mpich2/trunk/src/binding/cxx/buildiface 2011-02-03 21:37:46 UTC (rev 7898)
+++ mpich2/trunk/src/binding/cxx/buildiface 2011-02-03 22:02:48 UTC (rev 7899)
@@ -1378,7 +1378,7 @@
#ifdef MPIR_ARGUNUSED
#error MPIR_ARGUNUSED defined
#endif
-#if __GNUC__ > 4
+#if defined(__GNUC__) && __GNUC__ >= 4
#define MPIR_ARGUNUSED __attribute__((unused))
#else
#define MPIR_ARGUNUSED
More information about the mpich2-commits
mailing list