Re: Overriding -Werror
From: Geert Uytterhoeven
Date: Fri Aug 15 2014 - 12:51:46 EST
On Fri, Aug 15, 2014 at 5:33 PM, Lennart Sorensen
<lsorense@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 14, 2014 at 03:21:19PM -0700, Brian Norris wrote:
>> I'm interested in being able to build-test kernels on various
>> architectures while enabling extra warnings (make W=[123]). I'd like to
>> be able to finish the builds and see all warnings, rather than seeing a
>> failed build. However, GCC's -Werror is incompatible with this. There is
>> plenty of code that will produce at least one warning, when warning
>> verbosity is turned up. And GCC's -Werror is not guaranteed to remain
>> stable over time; new versions may develop new warnings that may or may
>> not be legitimate.
>
> What ever is wrong with using '-k' with your make command?
While -k helps to get more compiled, and thus see more warnings, you'll still
be missing the report of missing symbols in the final link/modpost stage.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/