This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
warnings enabled for -f flag
- From: Per Bothner <per at bothner dot com>
- To: "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Wed, 21 Mar 2012 23:08:05 -0700
- Subject: 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/