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]

warnings enabled for -f flag


Through an oversight, warning were not printed out when
loading a file with the -f command-line flag.  Also, errors were
displayed in a awkward format - as an exception stack trace.
I fixed this.  The "good news / bad news" is that you might
see warnings that you didn't expect.  I've been working on making
the warnings more precise, by improving Kawa's data-flow.
Doing so took a while, and it's not quite done: I'd like to
improve the "unreachable code" detection (and - note to Helmut:
Make it a suppressible warning, not an error).  This is the
main reason 1.12 has been delayed - I really didn't want 1.12
to go out with warnings missing - or with bad warnings.

Hopefully the warnings will either point out real issues, or
at be easy to work-around.  If not, they can be controlled
with command-line flags (--no-warn-xxx) or forms in the program
(with-compile-options or module-compile-options).

If you do think a warning is incorrect or unhelpful, let me know.
--
	--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]