From 2678ffb491368f8f5b2d345fb53b01c945816a34 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Mon, 26 Jun 2017 14:26:07 +0300 Subject: [PATCH] eigen: disable warnings int-in-bool-context Project depending on libeigen's headers can't be compiled with gcc 7.1 because of the int-in-bool-context warning. As suggested in https://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2017/06/msg00013.html it's easier to disable the warning for now until libeigen fixes them. Signed-off-by: Dmitry Rozhkov --- recipes-extended/sophus/sophus_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/sophus/sophus_0.9.1.bb b/recipes-extended/sophus/sophus_0.9.1.bb index 64cbc8b..3a50fdd 100644 --- a/recipes-extended/sophus/sophus_0.9.1.bb +++ b/recipes-extended/sophus/sophus_0.9.1.bb @@ -14,4 +14,4 @@ S = "${WORKDIR}/sophus-${PV}" inherit cmake # CXXFLAGS are needed to compile eigen 3.3.1 headers properly -CXXFLAGS += "-Wno-deprecated-declarations -Wno-misleading-indentation" +CXXFLAGS += "-Wno-deprecated-declarations -Wno-misleading-indentation -Wno-int-in-bool-context"