1
1

- Per Discussion w/ Ralph Castain (related to CID 1051)

- Move up the __opal_attribute_noreturn__ information
 - Actually make it known outside in ess.h
 - Additionally allow printf-type checking

This commit was SVN r19210.
Этот коммит содержится в:
Rainer Keller 2008-08-07 09:36:10 +00:00
родитель c9e53fd0d4
Коммит ad3538ea38
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -62,7 +62,7 @@ ORTE_DECLSPEC void orte_errmgr_base_proc_aborted_not_avail(orte_process_name_
ORTE_DECLSPEC void orte_errmgr_base_incomplete_start_not_avail(orte_jobid_t job, int exit_code);
ORTE_DECLSPEC void orte_errmgr_base_error_abort(int error_code, char *fmt, ...);
ORTE_DECLSPEC void orte_errmgr_base_error_abort(int error_code, char *fmt, ...) __opal_attribute_format__(__printf__, 2, 3) __opal_attribute_noreturn__;
ORTE_DECLSPEC int orte_errmgr_base_register_cb_not_avail(orte_jobid_t job,
orte_job_state_t state,

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

@ -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, ...);
typedef void (*orte_errmgr_base_module_abort_fn_t)(int error_code, char *fmt, ...) __opal_attribute_format__(__printf__, 2, 3) __opal_attribute_noreturn__;
/*
*

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

@ -56,7 +56,7 @@ typedef int (*orte_ess_base_module_finalize_fn_t)(void);
* function should create an appropriate file to alert the local
* orted that termination was abnormal.
*/
typedef void (*orte_ess_base_module_abort_fn_t)(int status, bool report);
typedef void (*orte_ess_base_module_abort_fn_t)(int status, bool report) __opal_attribute_noreturn__;
/**
* Determine if a process is local to me