Opened 14 years ago

Closed 14 years ago

#142 closed defect (fixed)

Problem compiing LOGAND

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: major Milestone: 0.26
Component: compiler Version: 0.24
Keywords: Cc:
Parent Tickets:

Description

From binghe's problems compiling SNMP there is a problem compiling our LOGAND form.

Change History (4)

comment:1 Changed 14 years ago by Mark Evenson

Milestone: 0.26
Version: 0.24

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.

comment:2 Changed 14 years ago by Mark Evenson

Further factoring the away from any dependencies other than base ABCL:

(logand 
 (let ((lock (threads:make-mutex)))
   (threads:with-mutex (lock) 42)) 
 4294967295)

comment:3 Changed 14 years ago by Mark Evenson

Factored away from threads

(logand (if (+ 1 2) 3) 4)

comment:4 Changed 14 years ago by Mark Evenson

Resolution: fixed
Status: newclosed

r13257 addresses the problem with LOGAND.

SNMP now compiles and loads.

Note: See TracTickets for help on using tickets.