mpi.h.in: Remove //-style comments
Keep all comments in the user-facing mpi.h.in as "old style" C
comments: /* */. This gives us maximum portability, just on the off
chance that a user's C compiler does not support //-style comments.
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit d522c27037
)
Этот коммит содержится в:
родитель
020e9e4627
Коммит
5179f80165
@ -318,9 +318,10 @@
|
|||||||
_Static_assert() */
|
_Static_assert() */
|
||||||
# define OMPI_OMIT_MPI1_COMPAT_DECLS 1
|
# define OMPI_OMIT_MPI1_COMPAT_DECLS 1
|
||||||
# define OMPI_REMOVED_USE_STATIC_ASSERT 1
|
# define OMPI_REMOVED_USE_STATIC_ASSERT 1
|
||||||
// This macro definition may show up in compiler output. So we both
|
/* This macro definition may show up in compiler output. So we both
|
||||||
// outdent it back to column 0 and give it a user-friendly name to
|
* outdent it back to column 0 and give it a user-friendly name to
|
||||||
// help users grok what we are trying to tell them here.
|
* help users grok what we are trying to tell them here.
|
||||||
|
*/
|
||||||
#define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(symbol, new_symbol) 0; _Static_assert(0, #symbol " was removed in MPI-3.0. Use " #new_symbol " instead.")
|
#define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(symbol, new_symbol) 0; _Static_assert(0, #symbol " was removed in MPI-3.0. Use " #new_symbol " instead.")
|
||||||
#define THIS_FUNCTION_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
|
#define THIS_FUNCTION_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
|
||||||
# elif defined(__cplusplus) && (__cplusplus >= 201103L)
|
# elif defined(__cplusplus) && (__cplusplus >= 201103L)
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user