[mpich2-commits] r6722 - in mpich2/trunk/src: include util/other
gropp at mcs.anl.gov
gropp at mcs.anl.gov
Mon May 24 13:57:15 CDT 2010
Author: gropp
Date: 2010-05-24 13:57:15 -0500 (Mon, 24 May 2010)
New Revision: 6722
Modified:
mpich2/trunk/src/include/mpiutil.h
mpich2/trunk/src/util/other/assert.c
Log:
Move defintion for assert message size to the only file that uses it; fixes compile problem in fast builds
Modified: mpich2/trunk/src/include/mpiutil.h
===================================================================
--- mpich2/trunk/src/include/mpiutil.h 2010-05-24 18:55:46 UTC (rev 6721)
+++ mpich2/trunk/src/include/mpiutil.h 2010-05-24 18:57:15 UTC (rev 6722)
@@ -92,7 +92,6 @@
#if (!defined(NDEBUG) && defined(HAVE_ERROR_CHECKING))
# if defined(HAVE_MACRO_VA_ARGS)
-# define MPIU_ASSERT_FMT_MSG_MAX_SIZE 2048
/* newlines are added internally by the impl function, callers do not need to include them */
# define MPIU_Assert_fmt_msg(cond_,fmt_arg_parens_) \
do { \
Modified: mpich2/trunk/src/util/other/assert.c
===================================================================
--- mpich2/trunk/src/util/other/assert.c 2010-05-24 18:55:46 UTC (rev 6721)
+++ mpich2/trunk/src/util/other/assert.c 2010-05-24 18:57:15 UTC (rev 6722)
@@ -6,6 +6,7 @@
*/
#include "mpiimpl.h"
+# define MPIU_ASSERT_FMT_MSG_MAX_SIZE 2048
/* assertion helper routines
More information about the mpich2-commits
mailing list