[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with safe environments
From: |
Martin Grabmueller |
Subject: |
Problems with safe environments |
Date: |
Mon, 09 Jul 2001 21:25:11 +0200 |
Hello list,
another problem discovered when checking the examples:
guile> (use-modules (ice-9 safe))
guile> (define m (make-safe-module))
guile> (eval '(define x 1) m)
guile> (quit)
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
Running with GUILE_WARN_DEPRECATED=detailed gives tons of
[...]
(You just re-exported `char-ci>?' from `(ice-9 safe-r5rs)'.)
(You just re-exported `char-ci<=?' from `(ice-9 safe-r5rs)'.)
(You just re-exported `char-ci>=?' from `(ice-9 safe-r5rs)'.)
(You just re-exported `char-alphabetic?' from `(ice-9 safe-r5rs)'.)
[...]
messages. (Compiling with --disable-deprecated does not work at all,
because then `define' is not defined in safe environments.) Again, I
don't know how to fix this. I tried replacing the `export' with
`re-export' in null.scm, but this just gives an
`unbound variable: unquote' error.
Any thoughts?
Regards,
'martin
- Problems with safe environments,
Martin Grabmueller <=