[developers] [spr38460] time() macro in Allegro CL breaks in run-time images
oe at ifi.uio.no
Tue Aug 30 21:47:53 CEST 2011
thanks for the proposed work-around, duane! i have confirmed that it
works for our application to redefine cl:time() when i create a run-time
imagine, so i cannot say we are desperate for an official patch :-).
On Tue, Aug 30, 2011 at 02:52, Duane Rettig <duane at franz.com> wrote:
>>> we only recently upgraded to ACL 8.2, and i believe a change in the time() macro
>>> is causing us trouble. in a run-time environment, the expansion into
>>> (EXCL::ENSURE-COMPILED-BODY-1 NIL ...)
>>> yields a RUNTIME-RESTRICTION error. i doubt this is intended behaviour, or?
> Oops. No, it is not intended behavior, although you are the first to
> have reported this. Thamks for that report, and I will file a bug to
> fix this for a future version.
> A workaround is to use this definition for a non-compiling time macro:
> (defmacro nctime (form)
> `(excl::time-a-funcall #'excl::time-report *trace-output*
> #'(lambda () ,form)))
> What is the severety of this problem? Can you use the workaround, or
> do you need a patch?
> Duane Rettig duane at franz.com Franz Inc. http://www.franz.com/
> 2201 Broadway, Suite 715, Oakland, Ca. 94612
More information about the developers