1
1

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)
Этот коммит содержится в:
Jeff Squyres 2020-06-15 12:56:51 -07:00
родитель 020e9e4627
Коммит 5179f80165

Просмотреть файл

@ -318,9 +318,10 @@
_Static_assert() */
# define OMPI_OMIT_MPI1_COMPAT_DECLS 1
# define OMPI_REMOVED_USE_STATIC_ASSERT 1
// 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
// help users grok what we are trying to tell them here.
/* 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
* 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_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)