Should -Wmaybe-uninitialized be included in -Wall?
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jul 10 22:16:00 GMT 2013
On Wed, Jul 10, 2013 at 4:37 PM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> To be honest, I agree with Gabriel here. And I would go a step
> forward, I would say that we are too timid with the warnings we enable
> by default or by -Wall. We should warn more agressively, and let users
> disable the warnings that they don't care about or are too buggy for
> their taste. Because, at the end, it is a matter of taste.
We have to be careful here. If a warning switch spews too much noise,
especially when building idiomatic codes or the standard library for
example, then I don't think it is a matter of taste; it just doesn't
have its place in -Wall. And yes, we had had such examples.
-- Gaby
More information about the Gcc
mailing list