Arf -- didn't test the OMPI_DEBUG_ZERO with an optimized build, and it
caused the nightlies to fail. Move the definition of OMPI_DEBUG_ZERO up to ompi_config_bottom.h and now all is well. This commit was SVN r3664.
Этот коммит содержится в:
родитель
77a3308de0
Коммит
0c05204c13
@ -152,6 +152,14 @@ typedef long long bool;
|
||||
# undef free
|
||||
# endif
|
||||
# define free(ptr) ompi_free((ptr), __FILE__, __LINE__)
|
||||
|
||||
/*
|
||||
* If we're mem debugging, make the OMPI_DEBUG_ZERO resolve to memset
|
||||
*/
|
||||
# include <string.h>
|
||||
# define OMPI_DEBUG_ZERO(obj) memset(&obj, 0, sizeof(obj))
|
||||
#else
|
||||
# define OMPI_DEBUG_ZERO(obj)
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -36,15 +36,6 @@
|
||||
#define OMPI_MALLOC_DEBUG_LEVEL 2
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we're mem debugging, make the OMPI_DEBUG_ZERO resolve to memset
|
||||
*/
|
||||
#if defined(OMPI_ENABLE_MEM_DEBUG) && OMPI_ENABLE_MEM_DEBUG
|
||||
#define OMPI_DEBUG_ZERO(obj) memset(&obj, 0, sizeof(obj))
|
||||
#else
|
||||
#define OMPI_DEBUG_ZERO(obj)
|
||||
#endif
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user