This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix build error on OSX
Hello,
This is the another plan.
How about adding -Wno-deprecated-declarations to GCC_WARN_CFLAGS
in bfd/warning.m4 ?
I tested OSX (Snow Leopard) and it passed 'make check.'
I've not tested on Debian5 but I guess there are no side effects.
Maybe functions marked as deprecated work with no troubles on almost all runtimes.
But it is also reasonable that mainainers think all of warnings should be rejected on build stage.
It's depends on how maintainers think about the deprecation attribute whether this
suggestion is acceptable or not.
I'll generate patches again if the mainainers accepts my suggestion.
On 2009/11/06, at 15:15, Alan Modra wrote:
> On Fri, Nov 06, 2009 at 01:47:57PM +0900, Masaki Muranaka wrote:
>> Why are you concluding I didn't test? ;-)
>
> Your patch sets -Werror in CFLAGS. How can setting -Werror avoid an
> error caused by -Werror?
>
> --
> Alan Modra
> Australia Development Lab, IBM
>