This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using environment-bound? in macro definitions




On 01/03/2017 06:40 PM, Duncan Mak wrote:
$ kawa test.scm

test.scm:13:14: warning - no declaration seen for known
test.scm:13:45: warning - no declaration seen for known
test.scm:21:27: warning - no declaration seen for known

%%%% Starting test t  (Writing full log to "t.log")

# of expected passes      2

It'd be nice if there's a way to not have warnings show up.

You can try compiling compiling with --no-warn-undefined-variable
or add:
(module-compile-options warn-undefined-variable: #f)

with-compile-options provides more localized control.

Perhaps this could be fixed in a cleaner way,
but I can't think of anything off-hand.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]