bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bugs #11822] Problem expanding define-syntax macro that uses


From: anonymous
Subject: [Bug-kawa] [bugs #11822] Problem expanding define-syntax macro that uses defmacro macro
Date: Tue, 8 Feb 2005 01:27:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Follow-up Comment #4, bugs #11822 (project kawa):

I was able to try out your latest check-ins and things have definitely
improved:  Half of the warning I was getting have been eliminated while
compiling the Merced Systems source.



By the way, as far as I know, we exclusively use (module-static #t) in our
sources.



I'm attaching another test case that's still giving me warnings.  Here's what
the build looks like:



% make new

rm -f *.class

CLASSPATH=.:~/kawa/cvs/kawa-pure/kawa-1.7.91.jar make run

make[1]: Entering directory `/home/dferreyra/kawa/tests'

java kawa.repl --warn-undefined-variable --main -C simple.scm

(compiling simple.scm)

java kawa.repl --warn-undefined-variable --main -C macroA.scm

(compiling macroA.scm)

java kawa.repl --warn-undefined-variable --main -C macroB.scm

(compiling macroB.scm)

java kawa.repl --warn-undefined-variable --main -C macro.scm

(compiling macro.scm)

macro.scm:6:3: warning - no declaration seen for init

java macro

Exception in thread "main" java.lang.ExceptionInInitializerError

Caused by: gnu.mapping.UnboundLocationException: unbound location {ClassType
address@hidden env:#<procedure interaction-environment.1>
loc:gnu.mapping.PlainLocation[{ClassType simpleAux}init]

        at gnu.mapping.Location.get(Location.java:65)

        at macro.$run$(macro.scm:6)

        at macro.<clinit>(macro.scm)

make[1]: *** [run] Error 1

make[1]: Leaving directory `/home/dferreyra/kawa/tests'

make: *** [new] Error 2


    _______________________________________________________

Additional Item Attachment:

File name: macros2.diff                   Size:0 KB
Another example with warnings
<http://savannah.gnu.org/bugs/download.php?item_id=11822&item_file_id=2170>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11822>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]