[Openmcl-devel] Compiler warnings

Taoufik Dachraoui taoufik.dachraoui at wanadoo.fr
Fri Oct 16 18:45:50 UTC 2009


Hi David,

but is this normal? I got this issue while defining a function with  
defun and got the warning on one of the parameters of the function.

Taoufik


On Oct 16, 2009, at 8:17 PM, David L. Rager wrote:

>
> Hi Taoufik,
>
> You need to define x to avoid those warnings.
>
> (defvar *x* '(a b c))
>
> Note that I'm fairly sure that defvar only sets a variable's value
> upon initialization.  Any subsequent calls to define the same variable
> are effectively no-ops.
>
> IIRC, I think that if you're in a multi-threaded environment, not
> defining a variable causes the setf's to be thread-local.
>
> David
>






More information about the Openmcl-devel mailing list