From bfc447d468f749d9161996f917ba3567ae063de4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 13 Jul 2017 12:02:45 +0200 Subject: [PATCH] af-binder: Fix const issue in afb-auth.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: Ia1b156b174166821a0246e603171193757e67ebe Signed-off-by: José Bollo Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10195 Reviewed-by: Matt Ranostay Reviewed-by: Jan-Simon Moeller Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Changhyeok Bae --- meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ceeb04ac6..ecd8b5ac0 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 = "b2114e0f626ed42a5d6154c681486b4edb19fbbf" +SRCREV = "c9ec9b1a76ce90048974476b1a5aa1be89b58536" PV = "master+git${SRCPV}" S = "${WORKDIR}/git" -- 2.16.6