This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
"no declaration seen" warnings on compile but not when running in interpreter
- From: alex mitchell <lexaay at gmail dot com>
- To: "kawa at sources dot redhat dot com" <kawa at sources dot redhat dot com>
- Date: Tue, 02 Feb 2010 12:11:27 +0800
- Subject: "no declaration seen" warnings on compile but not when running in interpreter
I'm getting a string of "no declaration seen" warnings when compiling my
code, warnings which don't appear when I run inside the interpreter. I had
the "--warn-undefined-variable" flag set in both compiler and interpreter.
If I turn off the warning flag in the compiler, I get "unbound location"
errors when I run the resulting classes.
Note that the declarations that the compiler complains about are definitely
there, and the interpreter is finding them, but the compiler isn't. Is
anyone else having any problems like this?
This is using the latest kawa from svn (rev 6489), java 1.6.0_17, under
MacOS X 10.6.
thanks!
Alex