Should -Wmaybe-uninitialized be included in -Wall?
Andrew Haley
aph@redhat.com
Tue Jul 9 12:04:00 GMT 2013
On 07/09/2013 12:59 PM, Andreas Arnez wrote:
> With this situation at hand, I wonder whether it's a good idea to keep
> maybe-uninitialized included in -Wall. Projects which have been using
> "-Wall -Werror" successfully for many years are now forced to
> investigate non-existing bugs in their code.
But maybe-uninitialized is very useful, and it's not really inappropriate
for -Wall. I would question the appropriateness of using -Wall -Werror
in production code.
Andrew.
More information about the Gcc
mailing list