[OE-core] [PATCH v2] json-c: Disable icecc to avoid implicit-fallthrough warning as error
Douglas Royds
douglas.royds at taitradio.com
Fri Jun 7 01:21:57 UTC 2019
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 <douglas.royds at taitradio.com>
---
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
More information about the Openembedded-core
mailing list