diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-18 18:57:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-18 18:57:08 (GMT) |
commit | cf56cd041d119914d7a9bee79c22e59a8ce85059 (patch) | |
tree | 67e37c5084d14cfb21a8a729ea93c983ca753673 /src/H5trace.c | |
parent | 8d0b1acf685d91aa91e23e1a0d307384175a98db (diff) | |
download | hdf5-cf56cd041d119914d7a9bee79c22e59a8ce85059.zip hdf5-cf56cd041d119914d7a9bee79c22e59a8ce85059.tar.gz hdf5-cf56cd041d119914d7a9bee79c22e59a8ce85059.tar.bz2 |
[svn-r14211] Description:
Remove --enable-hdfv1_6 configure flag, now that all dependencies on it
have been removed and new --with-default-api-version=[v16|v18] and
--disable-deprecated-symbols flags have taken its place.
Update types in bin/trace so that bin/reconfigure runs cleanly.
Run bin/reconfigure to regenerate configure script, along with
other associated files, etc.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'src/H5trace.c')
-rw-r--r-- | src/H5trace.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/H5trace.c b/src/H5trace.c index 2ad8222..0ad99b2 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -1254,6 +1254,40 @@ H5_trace (const double *returning, const char *func, const char *type, ...) } break; + case 'O': + switch(type[1]) { + case 't': + if(ptr) { + if(vp) + fprintf(out, "0x%lx", (unsigned long)vp); + else + fprintf(out, "NULL"); + } /* end if */ + else { + H5O_type_t objtype = va_arg(ap, H5O_type_t); /*lint !e64 Type mismatch not really occuring */ + switch(objtype) { + case H5O_TYPE_GROUP: + fprintf(out, "H5O_TYPE_GROUP"); + break; + case H5O_TYPE_DATASET: + fprintf(out, "H5O_TYPE_DATASET"); + break; + case H5O_TYPE_NAMED_DATATYPE: + fprintf(out, "H5O_TYPE_NAMED_DATATYPE"); + break; + default: + fprintf(out, "BADTYPE(%ld)", (long)objtype); + break; + } /* end switch */ + } /* end else */ + break; + + default: + fprintf(out, "BADTYPE(S%c)", type[1]); + goto error; + } /* end switch */ + break; + case 'p': if (ptr) { if (vp) { |