summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaul Harten <pharten@ncsa.uiuc.edu>1998-11-25 17:39:53 (GMT)
committerPaul Harten <pharten@ncsa.uiuc.edu>1998-11-25 17:39:53 (GMT)
commit7738afbd8abd484a600117bfac1d92cc2bf4e58e (patch)
tree71f04d8184f6026a9c8b0b5c320968961a87e0d0 /tools
parentffcbc32d669a0aabae30ed554a2a10446e69d25d (diff)
downloadhdf5-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')
-rw-r--r--tools/h5toh4.h2
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