diff options
author | Mark H Weaver <mhw@netris.org> | 2014-03-07 04:21:46 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-03-07 04:34:27 -0500 |
commit | de7aa61ac48811610b1b99005ada2464cf1a96f1 (patch) | |
tree | dbdd56eacaa8f9dca3c23f8e7006c0852373a4d9 /m4 | |
parent | ce0ba9d087fd5b03d85a64deddaf3c59bd136a3d (diff) |
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