summaryrefslogtreecommitdiff
path: root/gcc/java/lang.opt
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-10 04:29:16 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-10 04:29:16 +0000
commitbe42fe19ce70fde926b2b3e557cfec6597d695a5 (patch)
tree3e508493b552453db21ea9be34fe832212b8bbd3 /gcc/java/lang.opt
parent0a4080d1507b3329c3bfbb88fd13ce3b3450f56b (diff)
downloadgcc-be42fe19ce70fde926b2b3e557cfec6597d695a5.tar.gz
2004-08-09 H.J. Lu <hongjiu.lu@intel.com>
* java-tree.h (flag_deprecated): Removed. * lang.opt (Wdeprecated): Use existing Var(warn_deprecated). * parse.y (check_deprecation): Check warn_deprecated instead of flag_deprecated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lang.opt')
-rw-r--r--gcc/java/lang.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/lang.opt b/gcc/java/lang.opt
index 8cac2db15ba..2711193e46e 100644
--- a/gcc/java/lang.opt
+++ b/gcc/java/lang.opt
@@ -62,8 +62,8 @@ Java
; Documented for C
Wdeprecated
-Java Var(flag_deprecated) Init(1)
-Warn if deprecated class, method, or field is used
+Java Var(warn_deprecated) VarExists
+Warn if a deprecated compiler feature, class, method, or field is used
Wextraneous-semicolon
Java Var(flag_extraneous_semicolon)