mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
7738afbd8a
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
40 lines
693 B
C
40 lines
693 B
C
#ifndef _H5TOH4_H
|
|
#define _H5TOH4_H
|
|
|
|
#include <hdf5.h>
|
|
#include <mfhdf.h>
|
|
|
|
/*
|
|
* Copyright © 1998 NCSA
|
|
* All rights reserved.
|
|
*
|
|
* Programmer: Paul Harten <pharten@ncsa.uiuc.edu>
|
|
* Friday, October 16th, 1998
|
|
*
|
|
* Purpose: Convert H5 files to H4 files.
|
|
*/
|
|
|
|
|
|
typedef struct op_data_t {
|
|
/*
|
|
* information being carried between iterations.
|
|
*
|
|
*/
|
|
|
|
int32 hfile_id;
|
|
int32 vgroup_id;
|
|
int32 sd_id;
|
|
int32 sds_id;
|
|
int32 vdata_id;
|
|
int32 obj_idx;
|
|
|
|
} 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) ( fprintf(stderr," ") )
|
|
#endif
|
|
|
|
#endif
|