summaryrefslogtreecommitdiff
path: root/gcc/java/gjavah.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-04 04:57:33 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-04 04:57:33 +0000
commit01ce8ed3b49d6a46d1db203c4c1db32a3fb67239 (patch)
treecf40e4641c23b927eab437ca1b6fad40488aed6d /gcc/java/gjavah.c
parent8442ba3d3822662a8351119193f7c871bef3e992 (diff)
downloadgcc-01ce8ed3b49d6a46d1db203c4c1db32a3fb67239.tar.gz
* 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
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r--gcc/java/gjavah.c4
1 files changed, 4 insertions, 0 deletions
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 = "";