misc.c (gnat_handle_option): Replace set_Wunused by warn_unused.
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org> ada/ * gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused by warn_unused. From-SVN: r138903
This commit is contained in:
parent
b13e752fd5
commit
98e48a7f11
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
||||
|
||||
* gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused
|
||||
by warn_unused.
|
||||
|
||||
2008-08-08 Ed Schonberg <schonberg@adacore.com>
|
||||
|
||||
* freeze.adb (Generate_Prim_Op_References): New procedure, abstracted
|
||||
|
|
|
@ -240,7 +240,7 @@ gnat_handle_option (size_t scode, const char *arg, int value)
|
|||
break;
|
||||
|
||||
case OPT_Wall:
|
||||
set_Wunused (value);
|
||||
warn_unused = value;
|
||||
|
||||
/* We save the value of warn_uninitialized, since if they put
|
||||
-Wuninitialized on the command line, we need to generate a
|
||||
|
|
Loading…
Add table
Reference in a new issue