java-tree.h (flag_deprecated): Removed.
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. From-SVN: r85740
This commit is contained in:
parent
2bf26ede97
commit
bbefea9662
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2004-08-06 Kelley Cook <kcook@gcc.gnu.org>
|
||||
|
||||
* lang.c (flag_emit_class_files, flag_filelist_file, flag_redundant,
|
||||
|
@ -180,9 +180,6 @@ extern int flag_jni;
|
||||
|
||||
extern int flag_extraneous_semicolon;
|
||||
|
||||
/* When nonzero, report use of deprecated classes, methods, or fields. */
|
||||
extern int flag_deprecated;
|
||||
|
||||
/* When nonzero, always check for a non gcj generated classes archive. */
|
||||
|
||||
extern int flag_force_classes_archive_check;
|
||||
|
@ -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)
|
||||
|
@ -10095,7 +10095,7 @@ check_deprecation (tree wfl, tree decl)
|
||||
const char *file;
|
||||
tree elt;
|
||||
|
||||
if (! flag_deprecated)
|
||||
if (! warn_deprecated)
|
||||
return;
|
||||
|
||||
/* We want to look at the element type of arrays here, so we strip
|
||||
|
Loading…
x
Reference in New Issue
Block a user