Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Martin Simmons <martin <at> lispworks.com>
Subject: Re: What is HARP::NREG ?
Newsgroups: gmane.lisp.lispworks.general
Date: Monday 29th October 2007 20:01:38 UTC (over 9 years ago)
>>>>> On Sun, 28 Oct 2007 23:17:14 -0700, Chris Dean said:
> 
> I have some code that uses SYSTEM:INT32 that when I compile it gives
> this warning:
> 
>    Variable A [type HARP::NREG] being set to HARP::GREG value
> 
> What does this mean?
> 
> This is on LispWorks 5.0.2 running on my Intel Mac (still using Mac OS
> 10.4.10).
> 
> The code is below.
> 
> Cheers,
> Chris Dean
> 
> 
> (defun my-test-hash-32bit (data)
>   (declare (optimize (float 0)))
> 
>   (let ((a (system:integer-to-int32 (length data))))
>     (dotimes (i (length data))
>       (let ((x (aref data i)))
>         (setf a (system:int32+ a (system:integer-to-int32 x)))))
>     
>     (system:int32-to-integer a)))

That message is an internal warning, so we will look into it.  The code
itself
will still work in this case.

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/
 
CD: 3ms