From 7738afbd8abd484a600117bfac1d92cc2bf4e58e Mon Sep 17 00:00:00 2001 From: Paul Harten Date: Wed, 25 Nov 1998 12:39:53 -0500 Subject: [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 --- tools/h5toh4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12