]> code.ossystems Code Review - openembedded-core.git/commit
json-c: Backport --disable-werror patch to allow compilation under icecc
authorDouglas Royds via Openembedded-core <openembedded-core@lists.openembedded.org>
Tue, 11 Jun 2019 06:01:42 +0000 (18:01 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jun 2019 12:26:50 +0000 (13:26 +0100)
commitc668b467415599cb95d93a231eb51d77137a57e4
tree392ea5c3fc7457ab3a6dba118b69ece7cfac3696
parent8e5c85332f222efd5ffddaa9da9272c6e42881f5
json-c: Backport --disable-werror patch to allow compilation under icecc

icecc preprocesses source files locally before shipping them off to be compiled
on remote hosts. This preprocessing removes comments, including /* fallthough */
comments in switch statements that normally prevent an implicit-fallthrough
warning, see https://github.com/icecc/icecream/issues/419

Rather than turning off -Werror, the upstream project has implemented a
configure option, --disable-werror, in response to Ross's
https://github.com/json-c/json-c/issues/489

This patch from
https://github.com/json-c/json-c/commit/21c886534f8927fdc0fb5f8647394f3e0e0874b8

Upstream-Status: Backport [Not yet released]
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/json-c/json-c/add-disable-werror-option-to-configure.patch [new file with mode: 0644]
meta/recipes-devtools/json-c/json-c_0.13.1.bb