You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be consistent in using OMPI_OMIT_MPI1_COMPAT_DECLS when deciding
whether or not to declare removed types/functions/etc. and remove
the inconsistent sprinkling of OMPI_BUILDING checks by setting
OMPI_OMIT_MPI1_COMPAT_DECLS based on the OMPI_BUILDING value.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
Copy file name to clipboardExpand all lines: ompi/include/mpi.h.in
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,7 @@
332
332
*/
333
333
# if defined(OMPI_OMIT_MPI1_COMPAT_DECLS)
334
334
/* The user set OMPI_OMIT_MPI1_COMPAT_DECLS, do what he commands */
335
-
# elif(OMPI_ENABLE_MPI1_COMPAT||OMPI_BUILDING)
335
+
# elifOMPI_ENABLE_MPI1_COMPAT
336
336
# defineOMPI_OMIT_MPI1_COMPAT_DECLS 0
337
337
# defineOMPI_REMOVED_USE_STATIC_ASSERT 0
338
338
# define__mpi_interface_removed__(func, newfunc) __mpi_interface_deprecated__(#func " was removed in MPI-3.0. Use " #newfunc " instead. continuing...")
0 commit comments