Cleanup an attribute warning - not sure which one to set or where it should go, so I'll leave that to someone more familiar with "attributes".
Ensure some debugging is only enabled when have_debug is set. This commit was SVN r17681.
Этот коммит содержится в:
родитель
70fe703057
Коммит
841d0e5208
@ -132,7 +132,7 @@ typedef int (*orte_errmgr_base_module_register_cb_fn_t)(orte_jobid_t job,
|
||||
* itself, and then exit - it takes no other actions. The intent here is to provide
|
||||
* a last-ditch exit procedure that attempts to clean up a little.
|
||||
*/
|
||||
typedef void (*orte_errmgr_base_module_abort_fn_t)(int error_code, char *fmt, ...) __opal_attribute_format__(__printf__, 2, 3);
|
||||
typedef void (*orte_errmgr_base_module_abort_fn_t)(int error_code, char *fmt, ...);
|
||||
|
||||
/*
|
||||
* Ver 1.0.0
|
||||
|
@ -205,6 +205,10 @@ void orte_daemon_cmd_processor(int fd, short event, void *data)
|
||||
n = 1;
|
||||
if (ORTE_SUCCESS != (ret = opal_dss.unpack(buffer, &command, &n, ORTE_DAEMON_CMD))) {
|
||||
ORTE_ERROR_LOG(ret);
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
opal_output(0, "%s got message buffer from file %s line %d\n",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), mev->file, mev->line);
|
||||
#endif
|
||||
goto CLEANUP;
|
||||
}
|
||||
|
||||
|
@ -152,8 +152,10 @@ typedef struct {
|
||||
orte_process_name_t sender;
|
||||
opal_buffer_t *buffer;
|
||||
orte_rml_tag_t tag;
|
||||
#if OMPI_ENABLE_DEBUG
|
||||
char *file;
|
||||
int line;
|
||||
#endif
|
||||
} orte_message_event_t;
|
||||
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_message_event_t);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user