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:
parent
93403c79df
commit
2678ffb491
|
@ -14,4 +14,4 @@ S = "${WORKDIR}/sophus-${PV}"
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
# CXXFLAGS are needed to compile eigen 3.3.1 headers properly
|
# 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"
|
||||||
|
|
Loading…
Reference in New Issue