From: José Bollo Date: Thu, 13 Jul 2017 10:02:45 +0000 (+0200) Subject: af-binder: Fix const issue in afb-auth.h X-Git-Tag: dab_3.99.3~20 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F10197%2F2;p=AGL%2Fmeta-agl.git af-binder: Fix const issue in afb-auth.h The fields type and loa were declared as const. This worked well for C compilers that are allowing to initialize constant fixed structures. But when compiling with C++, it is no more easy to create initialized structure explicitely. In C++, the solution is to use C++14 constexpr functions. But for using these function, const must be removed. Bug-AGL: SPEC-741 Change-Id: If5aca00e79dc074dcd1f6bac81a57d85b8537cea Signed-off-by: José Bollo Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10197 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Matt Ranostay Reviewed-by: Jan-Simon Moeller Reviewed-by: Changhyeok Bae --- diff --git a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb index c0e2a1278..dbde967da 100644 --- a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb +++ b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb @@ -15,7 +15,7 @@ SRC_URI = "${SRC_URI_git} \ ${SRC_URI_files} \ " -SRCREV = "4e72c3a2a4e550f99430d1f37a8ef693d2daa8c3" +SRCREV = "b2a1f5f40ec0663d57a18f97e04d1ce4901af468" PV = "dab+git${SRCPV}" S = "${WORKDIR}/git"