[Buildroot] [PATXH v3 2/2] package/xen: Disable strict unused-const-variable checking

Alistair Francis alistair.francis at xilinx.com
Thu Dec 8 22:48:38 UTC 2016


On Thu, Dec 8, 2016 at 1:06 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Thu, 8 Dec 2016 12:11:12 -0800, Alistair Francis wrote:
>
>> + CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
>> +-    -Wno-declaration-after-statement -Wformat-nonliteral
>> ++    -Wno-declaration-after-statement -Wformat-nonliteral \
>> ++    -Werror=unused-const-variable=0
>
> Sorry for not catching this earlier, but what we want instead is to
> completely remove -Werror. It's pointless for releases, and is causing
> to cause other build failures.

No worries, I have removed the -Werror. I left the other ones in there though.

Thanks,

Alistair

>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com



More information about the buildroot mailing list