소스 검색

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"