diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-03-31 19:54:31 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2015-03-31 19:54:31 (GMT) |
commit | ccdcbec6350863cd4d85f8ed29404f594ce91277 (patch) | |
tree | 9749677ec4d4db1b393a64b38b3e2371b41d59e2 /src/H5Eprivate.h | |
parent | cf11eef3859e01be8e81592ca8e5f242d4734673 (diff) | |
download | hdf5-ccdcbec6350863cd4d85f8ed29404f594ce91277.zip hdf5-ccdcbec6350863cd4d85f8ed29404f594ce91277.tar.gz hdf5-ccdcbec6350863cd4d85f8ed29404f594ce91277.tar.bz2 |
[svn-r26678] add ifdef checks and setting for __attribute__ in a public place to allow usage in
public routines.
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r-- | src/H5Eprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h index 0e6def6..2065b08 100644 --- a/src/H5Eprivate.h +++ b/src/H5Eprivate.h @@ -186,7 +186,7 @@ H5_DLL herr_t H5E_init(void); H5_DLL herr_t H5E_push_stack(H5E_t *estack, const char *file, const char *func, unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *desc); H5_DLL herr_t H5E_printf_stack(H5E_t *estack, const char *file, const char *func, - unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...); + unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...)__attribute__((format (printf, 8, 9))); H5_DLL herr_t H5E_clear_stack(H5E_t *estack); H5_DLL herr_t H5E_dump_api_stack(hbool_t is_api); |