From 80a9a3df0ca8270c694fcbefc302f417aa4ccaf4 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 22 Aug 2005 10:55:54 -0500 Subject: [svn-r11286] Purpose: bug fix Description: The set of h5diffdebugN macros that printed nothing did not have the proper number of parameters. Some compilers (gcc) did not like it. Solution: Fixed them to have the matching number of parameters. Platforms tested: heping pp (using both mpich-icc and mpich-gcc), modi4 pp. --- tools/lib/h5diff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index c1f45c7..5103280 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -28,10 +28,10 @@ #define h5diffdebug5(x1, x2, x3, x4, x5) fprintf(stderr, "h5diff debug: " x1, x2, x3, x4, x5) #else #define h5diffdebug(x) -#define h5diffdebug2(x) -#define h5diffdebug3(x) -#define h5diffdebug4(x) -#define h5diffdebug5(x) +#define h5diffdebug2(x1, x2) +#define h5diffdebug3(x1, x2, x3) +#define h5diffdebug4(x1, x2, x3, x4) +#define h5diffdebug5(x1, x2, x3, x4, x5) #endif -- cgit v0.12