diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-11-04 04:57:33 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-11-04 04:57:33 +0000 |
commit | b7436b7288b074c505c7efd6be8740dfab471995 (patch) | |
tree | cf40e4641c23b927eab437ca1b6fad40488aed6d /gcc/java/gjavah.c | |
parent | 0160fbe1508e18e4ff7b50822b3620f69cffe400 (diff) | |
download | gcc-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/gjavah.c')
-rw-r--r-- | gcc/java/gjavah.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index f49b717..6e6075e 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 = ""; |