Re: [PATCH] kbuild: clang: Disable -Wunused-const-variable warnings

From: Segher Boessenkool
Date: Sun Jan 28 2018 - 11:23:06 EST


On Fri, Jan 26, 2018 at 04:59:46PM -0800, Prasad Sodagudi wrote:
> Disable -Wunused-const-variable warnings instead of
> disabling -Wunused-variable warnings, So that in both
> clang and GCC -Wunused-const-variable gets disabled.

Why would you disable -Wunused-const-variable on GCC? You do not
explain why.


Segher