headers: remove trailing commas in enum lists
Per http://www.open-mpi.org/community/lists/devel/2014/08/15576.php, trailing commas are not valid in enum lists in C++ until C++11. cmr=v1.8.2:reviewer=rhc This commit was SVN r32482.
Этот коммит содержится в:
родитель
807ca76e04
Коммит
ca0ccc5321
@ -66,7 +66,7 @@ enum {
|
||||
|
||||
OMPI_ERR_REQUEST = OMPI_ERR_BASE - 1,
|
||||
OMPI_ERR_RMA_SYNC = OMPI_ERR_BASE - 2,
|
||||
OMPI_ERR_RMA_SHARED = OMPI_ERR_BASE - 3,
|
||||
OMPI_ERR_RMA_SHARED = OMPI_ERR_BASE - 3
|
||||
};
|
||||
|
||||
#define OMPI_ERR_MAX (OMPI_ERR_BASE - 100)
|
||||
|
@ -33,7 +33,7 @@ enum mca_base_open_flag_t {
|
||||
/** Find components in mca_base_components_find. Used by
|
||||
mca_base_framework_open() when NOREGISTER is specified
|
||||
by the framework */
|
||||
MCA_BASE_OPEN_FIND_COMPONENTS = 1,
|
||||
MCA_BASE_OPEN_FIND_COMPONENTS = 1
|
||||
};
|
||||
|
||||
typedef enum mca_base_open_flag_t mca_base_open_flag_t;
|
||||
@ -111,7 +111,7 @@ typedef enum {
|
||||
/** Don't register any variables for this framework */
|
||||
MCA_BASE_FRAMEWORK_FLAG_NOREGISTER = 1,
|
||||
/** Internal. Don't set outside mca_base_framework.h */
|
||||
MCA_BASE_FRAMEWORK_FLAG_REGISTERED = 2,
|
||||
MCA_BASE_FRAMEWORK_FLAG_REGISTERED = 2
|
||||
|
||||
/**
|
||||
* The upper 16 bits are reserved for project specific flags.
|
||||
|
@ -704,7 +704,7 @@ typedef enum {
|
||||
/* Dump easily parsable strings */
|
||||
MCA_BASE_VAR_DUMP_PARSABLE = 1,
|
||||
/* Dump simple name=value string */
|
||||
MCA_BASE_VAR_DUMP_SIMPLE = 2,
|
||||
MCA_BASE_VAR_DUMP_SIMPLE = 2
|
||||
} mca_base_var_dump_type_t;
|
||||
|
||||
/**
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user