浏览代码

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 <raj.khem@gmail.com>
Khem Raj 3 年之前
父节点
当前提交
de793ef7ac
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      meta-oe/recipes-extended/pegtl/pegtl_2.8.3.bb

+ 2 - 0
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"