From de793ef7ac88c74df5cbd07962d98821649225c1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 16 Aug 2020 23:14:01 -0700 Subject: [PATCH] pegtl: Disable type-limits warning gcc 10.2 warns with this rep_one_min_max.hpp:40:26: error: comparison of unsigned expression in '>= 0' is always true [-Werror=type-limits] Signed-off-by: Khem Raj --- meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb b/meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb index 92741d8178..01233699a5 100644 --- a/meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb +++ b/meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb @@ -10,3 +10,5 @@ SRC_URI = "git://github.com/taocpp/PEGTL.git;protocol=https;branch=2.x \ inherit cmake S = "${WORKDIR}/git" + +CXXFLAGS += " -Wno-error=type-limits"