summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-06-13 04:52:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-06-13 04:52:22 (GMT)
commit97b6832023ceb7665750de6a0adb3e67c5961df2 (patch)
treef8894636f01d284a508925d3f165a6b246606295 /src/H5Fprivate.h
parent97e6dc5d876d4e772fd65727f6b9b2c4367cb080 (diff)
downloadhdf5-97b6832023ceb7665750de6a0adb3e67c5961df2.zip
hdf5-97b6832023ceb7665750de6a0adb3e67c5961df2.tar.gz
hdf5-97b6832023ceb7665750de6a0adb3e67c5961df2.tar.bz2
[svn-r15211] Description:
Update the gcc flags for version 4.3 Clean up warnings 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.5.3 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 27b45f2..432cf12 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -309,12 +309,14 @@ typedef struct H5F_t H5F_t;
case 4: UINT32ENCODE(p,l); break; \
case 8: UINT64ENCODE(p,l); break; \
case 2: UINT16ENCODE(p,l); break; \
+ default: HDassert("bad sizeof size" && 0); \
}
#define H5F_DECODE_LENGTH(f,p,l) switch(H5F_SIZEOF_SIZE(f)) { \
case 4: UINT32DECODE(p,l); break; \
case 8: UINT64DECODE(p,l); break; \
case 2: UINT16DECODE(p,l); break; \
+ default: HDassert("bad sizeof size" && 0); \
}
/*