Should -Wmaybe-uninitialized be included in -Wall?
Andi Kleen
andi@firstfloor.org
Wed Jul 10 16:11:00 GMT 2013
> No. People expect that -Werror turns warnings into errors.
> That is what we have documented for years.
> Starting to special case these things is a royal road to confusion,
> and a slippery slope.
Ok, I will keep removing -Werrors from Makefiles then.
FWIW basically -Werror -Wall defines a compiler version specific
variant of C. May be great for individual developers, but it's always
a serious mistake in any distributed Makefile.
-Andi
More information about the Gcc
mailing list