diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-31 20:00:49 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-31 20:00:49 (GMT) |
commit | dbda7f4921f8ddee42e2de9a7ed5fbc60a8dbab8 (patch) | |
tree | 15528f131f6dbbedab734c2fa1f364285e790640 /test/btree2.c | |
parent | 4cae0acb175e6b4348c68d5ffa4b0490440c5425 (diff) | |
download | hdf5-dbda7f4921f8ddee42e2de9a7ed5fbc60a8dbab8.zip hdf5-dbda7f4921f8ddee42e2de9a7ed5fbc60a8dbab8.tar.gz hdf5-dbda7f4921f8ddee42e2de9a7ed5fbc60a8dbab8.tar.bz2 |
[svn-r21342] Issue 7674 - clang compiler with -fcatch-undefined-behavior -ftrapv discovered several problems in the test suite. One of
them is in the INIT_INTEGER macro definition in dt_arith.c. It complained about line 150 where it tried to subtract 1 from
the negative minimal value of "int", causing it to overflow (or underflow). So I revised the code to avoid it.
Tested on jam, koala, linew, and Mac OS Lion with CLANG compiler.
Diffstat (limited to 'test/btree2.c')
0 files changed, 0 insertions, 0 deletions