summaryrefslogtreecommitdiffstats
path: root/test/enum.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-08-31 20:00:49 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-08-31 20:00:49 (GMT)
commitdbda7f4921f8ddee42e2de9a7ed5fbc60a8dbab8 (patch)
tree15528f131f6dbbedab734c2fa1f364285e790640 /test/enum.c
parent4cae0acb175e6b4348c68d5ffa4b0490440c5425 (diff)
downloadhdf5-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/enum.c')
0 files changed, 0 insertions, 0 deletions