summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-08-22 15:55:54 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-08-22 15:55:54 (GMT)
commit80a9a3df0ca8270c694fcbefc302f417aa4ccaf4 (patch)
treeed78b9af88f708da9a324df73e31c67685969111
parentb7d43b0cf0c750031b60937b7dc2eaf0d8a803eb (diff)
downloadhdf5-80a9a3df0ca8270c694fcbefc302f417aa4ccaf4.zip
hdf5-80a9a3df0ca8270c694fcbefc302f417aa4ccaf4.tar.gz
hdf5-80a9a3df0ca8270c694fcbefc302f417aa4ccaf4.tar.bz2
[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.
-rw-r--r--tools/lib/h5diff.c8
1 files 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