[libibery PATCH] Fix bootstrap

Richard Biener richard.guenther@gmail.com
Thu May 25 13:01:00 GMT 2017


On May 25, 2017 1:38:36 PM GMT+02:00, Nathan Sidwell <nathan@acm.org> wrote:
>On 05/25/2017 07:21 AM, Jonathan Wakely wrote:
>
>> I don't mind removing the warning again if preferred. I thought it
>was
>> useful (as we already warn for ignored const in return types).
>
>Oh yeah, I recall noticing we did that (and noting we didn't warn 
>elsewhere).  This new warning seems consistent.
>
>I say leave it in unless the grumbling gets too much for you :)

I wonder if we can somehow default to -Wno-error=xyz for such kind of 'style' warnings...  Adding const can't possibly break anything or result in wrong expectations, can it?

Richard.

>nathan



More information about the Gcc-patches mailing list