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 <[email protected]>
---
 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"
-- 
2.28.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86407): 
https://lists.openembedded.org/g/openembedded-devel/message/86407
Mute This Topic: https://lists.openembedded.org/mt/76246470/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to