diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-10-10 10:00:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-10-10 10:00:57 +0200 |
commit | 88cefbc7de86e0061b0cc4fb5417de78f7afba15 (patch) | |
tree | 4546187e7005b331e71bc43e4634f249b57f1e17 /libguile/stackchk.c | |
parent | ec9ef386157036ed5388023121720a179d4faeb9 (diff) | |
download | guile-88cefbc7de86e0061b0cc4fb5417de78f7afba15.tar.gz |
Fix compilation error due to strict aliasing rules on `i386-unknown-freebsd7.0'.
* libguile/threads.c (scm_threads_mark_stacks): Cast `&t->regs' to
`(void *)' rather than `(SCM_STACKITEM *)' to avoid "warning:
dereferencing type-punned pointer will break strict-aliasing rules"
with GCC 4.2.1 on `i386-unknown-freebsd7.0'.
Diffstat (limited to 'libguile/stackchk.c')
0 files changed, 0 insertions, 0 deletions