mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +02:00
* Get rid of the annoying variable-gets-clobbered-by-longjmp warning.
This commit is contained in:
parent
23a62df4fe
commit
fcba9b58c6
3 changed files with 10 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
|||
2000-12-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||
|
||||
* continuations.c (scm_make_continuation): Make variable cont
|
||||
volatile to let the compiler know that it won't be clobbered by
|
||||
longjmp. (It wouldn't be anyway, but for some reason the compiler
|
||||
is not able to see that.)
|
||||
|
||||
2000-12-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||
|
||||
This patch re-introduces the unused member "documentation" of
|
||||
|
|
|
@ -111,7 +111,7 @@ continuation_print (SCM obj, SCM port, scm_print_state *state)
|
|||
SCM
|
||||
scm_make_continuation (int *first)
|
||||
{
|
||||
SCM cont;
|
||||
volatile SCM cont;
|
||||
scm_contregs *continuation;
|
||||
scm_contregs *rootcont = SCM_CONTREGS (scm_rootcont);
|
||||
long stack_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue