diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-08-03 23:32:59 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-08-03 23:32:59 (GMT) |
commit | beb4bff6686729d6eb91c6cb8014937341b42665 (patch) | |
tree | 7d6e7f8abe9400b3f78fec7013ed7979b2df62a1 /test | |
parent | ff5070329c34c74082570c925e2a2b9089b99b29 (diff) | |
download | hdf5-beb4bff6686729d6eb91c6cb8014937341b42665.zip hdf5-beb4bff6686729d6eb91c6cb8014937341b42665.tar.gz hdf5-beb4bff6686729d6eb91c6cb8014937341b42665.tar.bz2 |
[svn-r27458] Merge of r27407 from trunk. (code cleanup for Solaris debugging)
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 'test')
-rw-r--r-- | test/h5test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h index d31e963..19524a9 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -175,7 +175,7 @@ H5TEST_DLL void ParseTestVerbosity(char *argv); H5TEST_DLL int GetTestNumErrs(void); H5TEST_DLL void IncTestNumErrs(void); H5TEST_DLL const void *GetTestParameters(void); -H5TEST_DLL int TestErrPrintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); +H5TEST_DLL int TestErrPrintf(const char *format, ...) H5_ATTR_FORMAT(printf, 1, 2); H5TEST_DLL void SetTest(const char *testname, int action); H5TEST_DLL void TestAlarmOn(void); H5TEST_DLL void TestAlarmOff(void); |