icecc preprocesses source files locally before shipping them off to be compiled on remote hosts. This preprocessing removes comments, including /* fallthrough */ comments in switch statements that normally prevent the implicit-fallthrough warning.
Rather than turning off -Werror by patching configure.ac, it is simpler to disable icecc completely for json-c. There are very few source files to compile, so the compilation is quick even without icecc. See https://github.com/icecc/icecream/issues/419 Signed-off-by: Douglas Royds <[email protected]> --- meta/classes/icecc.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index edb0e10434..c0f21bdbfd 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -76,6 +76,7 @@ ICECC_ENV_DEBUG ??= "" # target-sdk-provides-dummy - ${HOST_PREFIX} is empty which triggers the "NULL # prefix" error. ICECC_SYSTEM_PACKAGE_BL += "\ + json-c \ libgcc-initial \ target-sdk-provides-dummy \ " -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
