summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-03-07 04:21:46 -0500
committerMark H Weaver <mhw@netris.org>2014-03-07 04:34:27 -0500
commitde7aa61ac48811610b1b99005ada2464cf1a96f1 (patch)
treedbdd56eacaa8f9dca3c23f8e7006c0852373a4d9 /m4
parentce0ba9d087fd5b03d85a64deddaf3c59bd136a3d (diff)
downloadguile-de7aa61ac48811610b1b99005ada2464cf1a96f1.tar.gz
Improve compliance with C standards regarding signed integer shifts.
* configure.ac: Add -fwrapv when using GCC (or compatible), if supported. * libguile/numbers.h (SCM_I_MAKINUM): Cast to scm_t_bits (unsigned) before shifting, to avoid undefined behavior.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions