#142: Problem compiing LOGAND ----------------------+----------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: new Priority: major | Milestone: Component: compiler | Version: Keywords: | ----------------------+----------------------------------------------------- From binghe's [http://article.gmane.org/gmane.lisp.armedbear.devel/1835 problems compiling SNMP] there is a problem compiling our LOGAND form.
#142: Problem compiing LOGAND -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: new Priority: major | Milestone: 0.26 Component: compiler | Version: 0.24 Resolution: | Keywords: -----------------------+---------------------------------------------------- Changes (by mevenson):
* version: => 0.24 * milestone: => 0.26
Comment:
This snippet
{{{
(in-package :snmp)
(lambda () (LOGAND (PORTABLE-THREADS:ATOMIC-INCF SNMP::REQUEST-ID-COUNTER) 4294967295)) }}}
has the same error message which is a bit weird as I would have thought that the undefined "REQUEST-ID-COUNTER" variable would get detected first, but that seems to not be the case.
#142: Problem compiing LOGAND -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: new Priority: major | Milestone: 0.26 Component: compiler | Version: 0.24 Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment(by mevenson):
Further factoring the away from any dependencies other than base ABCL:
{{{ (logand (let ((lock (threads:make-mutex))) (threads:with-mutex (lock) 42)) 4294967295) }}}
#142: Problem compiing LOGAND -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: new Priority: major | Milestone: 0.26 Component: compiler | Version: 0.24 Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment(by mevenson):
Factored away from threads
{{{ (logand (if (+ 1 2) 3) 4) }}}
#142: Problem compiing LOGAND -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: ehuelsmann Type: defect | Status: closed Priority: major | Milestone: 0.26 Component: compiler | Version: 0.24 Resolution: fixed | Keywords: -----------------------+---------------------------------------------------- Changes (by mevenson):
* status: new => closed * resolution: => fixed
Comment:
r13257 addresses the problem with LOGAND.
SNMP now compiles and loads.
armedbear-ticket@common-lisp.net