From 01ce8ed3b49d6a46d1db203c4c1db32a3fb67239 Mon Sep 17 00:00:00 2001 From: tromey Date: Sat, 4 Nov 2000 04:57:33 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37244 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/gjavah.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/java/gjavah.c') diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index f49b717c199..6e6075ea0ff 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -47,6 +47,10 @@ static int found_error = 0; /* Nonzero if we're generating JNI output. */ static int flag_jni = 0; +/* When non zero, warn when source file is newer than matching class + file. */ +int flag_newer = 1; + /* Directory to place resulting files in. Set by -d option. */ const char *output_directory = ""; -- cgit v1.2.1