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 <dmitry.rozhkov@linux.intel.com>
This commit is contained in:
Dmitry Rozhkov 2017-06-26 14:26:07 +03:00
parent 93403c79df
commit 2678ffb491
1 changed files with 1 additions and 1 deletions

View File

@ -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"