aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-dump.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-11-04 04:57:33 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-11-04 04:57:33 +0000
commitb7436b7288b074c505c7efd6be8740dfab471995 (patch)
treecf40e4641c23b927eab437ca1b6fad40488aed6d /gcc/java/jcf-dump.c
parent0160fbe1508e18e4ff7b50822b3620f69cffe400 (diff)
downloadgcc-b7436b7288b074c505c7efd6be8740dfab471995.zip
gcc-b7436b7288b074c505c7efd6be8740dfab471995.tar.gz
gcc-b7436b7288b074c505c7efd6be8740dfab471995.tar.bz2
lang-options.h: Mention -Wout-of-date.
* lang-options.h: Mention -Wout-of-date. * jcf-dump.c (flag_newer): New global. * gjavah.c (flag_newer): New global. * jcf-io.c (find_class): Only warn when flag_newer set. * lang.c (flag_newer): New global. (struct string_option): New declaration. (lang_W_options): New global. (process_option_with_no): New function. (lang_decode_option): Use it. From-SVN: r37244
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r--gcc/java/jcf-dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index 88b188b..1becf16 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -71,6 +71,10 @@ int flag_print_fields = 1;
int flag_print_methods = 1;
int flag_print_attributes = 1;
+/* When non zero, warn when source file is newer than matching class
+ file. */
+int flag_newer = 1;
+
/* Print names of classes that have a "main" method. */
int flag_print_main = 0;