This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR [C/C++/Fortran/Java] 28875 "-Wextra -Wno-unused-parameter -Wall" doesn't work as expected


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]