diff options
author | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-11-25 17:39:53 (GMT) |
---|---|---|
committer | Paul Harten <pharten@ncsa.uiuc.edu> | 1998-11-25 17:39:53 (GMT) |
commit | 7738afbd8abd484a600117bfac1d92cc2bf4e58e (patch) | |
tree | 71f04d8184f6026a9c8b0b5c320968961a87e0d0 /tools/h5toh4.h | |
parent | ffcbc32d669a0aabae30ed554a2a10446e69d25d (diff) | |
download | hdf5-7738afbd8abd484a600117bfac1d92cc2bf4e58e.zip hdf5-7738afbd8abd484a600117bfac1d92cc2bf4e58e.tar.gz hdf5-7738afbd8abd484a600117bfac1d92cc2bf4e58e.tar.bz2 |
[svn-r953] Purpose:
Getting rid of Warning messages.
Problem:
When compiling with DEBUG_H5TOH4 turned off,
macro expansion of DEBUG_PRINT gives many warning
messages.
Solution:
Set macro expansion of DEBUG_PRINT to:
#ifdef DEBUG_H5TOH4
#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr,s1,s2,s3,n1) )
#else
#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr," ") )
#endif
Platform tested:
Solaris2.5
Diffstat (limited to 'tools/h5toh4.h')
-rw-r--r-- | tools/h5toh4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5toh4.h b/tools/h5toh4.h index 140fef0..4436288 100644 --- a/tools/h5toh4.h +++ b/tools/h5toh4.h @@ -33,7 +33,7 @@ typedef struct op_data_t { #ifdef H5TOH4_DEBUG #define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr,s1,s2,s3,n1) ) #else -#define DEBUG_PRINT(s1,s2,s3,n1) ( ) +#define DEBUG_PRINT(s1,s2,s3,n1) ( fprintf(stderr," ") ) #endif #endif |