PR [C/C++/Fortran/Java] 28875 "-Wextra -Wno-unused-parameter -Wall" doesn't work as expected
Manuel López-Ibáñez
lopezibanez@gmail.com
Sat Aug 9 09:40:00 GMT 2008
2008/8/9 Andreas Schwab <schwab@suse.de>:
> "Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
>
>> This fixes 28875 and makes the whole handling of Wunused much less complicated.
>>
>> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
>> --enable-languages=all.
>>
>> OK for trunk?
>
> Next time please grep the whole source tree.
>
> ada/misc.o: In function `gnat_handle_option':
> ../../gcc/ada/gcc-interface/misc.c:243: undefined reference to `set_Wunused'
>
Fixed by committing as obvious (rev 138903):
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* gcc-interface/misc.c (gnat_handle_option): Replace set_Wunused
by warn_unused.
Apologies for the oversight.
Manuel.
More information about the Fortran
mailing list