OMPI_ENABLE_DEBUG is always defined. Remove all warnings when compiled in
non debug mode. This commit was SVN r13230.
Этот коммит содержится в:
родитель
c2e9075d29
Коммит
c0b22678a7
@ -3,7 +3,7 @@
|
||||
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2006 High Performance Computing Center Stuttgart,
|
||||
@ -41,11 +41,11 @@ int ompi_ddt_dfd = -1;
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
#define EMPTY_DATA(NAME) NULL, 0, "MPI_" # NAME, {0, 0, NULL}, {0, 0, NULL}, NULL, NULL, ZERO_DDT_ARRAY
|
||||
|
||||
#ifdef OMPI_ENABLE_DEBUG
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
# define BASEOBJ_DATA { OBJ_CLASS(ompi_datatype_t), 1, __FILE__, __LINE__ }
|
||||
#else
|
||||
# define BASEOBJ_DATA { OBJ_CLASS(ompi_datatype_t), 1 }
|
||||
#endif
|
||||
#endif /* OMPI_ENABLE_DEBUG */
|
||||
|
||||
/* Using this macro implies that at this point not all informations needed
|
||||
* to fill up the datatype are known. We fill them with zeros and then later
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2006 High Performance Computing Center Stuttgart,
|
||||
@ -231,11 +231,11 @@ struct opal_object_t {
|
||||
*
|
||||
* @param NAME Name of class
|
||||
*/
|
||||
#ifdef OMPI_ENABLE_DEBUG
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
# define OBJ_CLASS_EMPTY(NAME) {OBJ_CLASS(NAME), 0, __FILE__, __LINE__}
|
||||
#else
|
||||
# define OBJ_CLASS_EMPTY(NAME) {OBJ_CLASS(NAME), 0}
|
||||
#endif
|
||||
#endif /* OMPI_ENABLE_DEBUG */
|
||||
|
||||
|
||||
/**
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user