summaryrefslogtreecommitdiffstats
path: root/src/H5Eprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-07-18 05:40:06 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-07-18 05:40:06 (GMT)
commit94a6e02b3dfde5a226b124177c33526080d6bb86 (patch)
tree4e27e41f7437c18798faf41201fe62c9e31c50e4 /src/H5Eprivate.h
parent12b86abf18d831a2eeb337146187e220a50fafb2 (diff)
downloadhdf5-94a6e02b3dfde5a226b124177c33526080d6bb86.zip
hdf5-94a6e02b3dfde5a226b124177c33526080d6bb86.tar.gz
hdf5-94a6e02b3dfde5a226b124177c33526080d6bb86.tar.bz2
[svn-r27407] Updated the H5_ATTR_* macros.
- Updated the preprocessor logic that defines the H5_ATTR_* macros. The Solaris Studio compiler understands __attribute__ but not the specific attributes that we use. The H5_ATTR_* macros are now defined as blank with that compiler which significantly cleans up the warnings, making debugging easier. - Replaced a few lingering __attribute__ macros with H5_ATTR_* markup. Tested on: h5committest Solaris w/ Solaris Studio (emu)
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r--src/H5Eprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index 2065b08..ba17ada 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, ...)__attribute__((format (printf, 8, 9)));
+ unsigned line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char *fmt, ...)H5_ATTR_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);