This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
spurious warning
- From: Seth Alves <alves at hungry dot com>
- To: kawa at sourceware dot org
- Date: Mon, 24 Nov 2014 18:56:20 -0800
- Subject: spurious warning
- Authentication-results: sourceware.org; auth=none
When I run this, I see a warning:
8:14: warning - no declaration seen for arithmetic-shift
though the program works. If I use other identifiers from srfi-60, I
get more warnings.
-seth
(define-library (testlib)
(export foo)
(import (scheme base)
(scheme write)
(srfi 60))
(begin
(define (foo)
(write (arithmetic-shift 1 2))
(newline))))
(import (scheme base)
(scheme write)
(testlib))
(foo)