mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
minifi-cpp: Fix build with clang
Disable c++11-narrowing-const-reference warning as error
Fixes
git/extensions/standard-processors/utils/JoltUtils.cpp:498:23: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'unsigned int' in initializer list [-Wc++11-narrowing-const-reference]
return ResultT{{std::stoull(std::string{idx_begin, it}), {}}, it};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
97e875069f
commit
950b33eebf
|
|
@ -66,6 +66,7 @@ DEPENDS = "virtual/crypt bison-native flex-native flex openssl curl zlib xz bzip
|
|||
|
||||
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
|
||||
|
||||
CXXFLAGS:append:toolchain-clang = " -Wno-error=c++11-narrowing-const-reference"
|
||||
LDFLAGS:append:riscv32 = " -latomic"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user