diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-01-08 20:48:21 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-01-12 09:08:26 -0800 |
commit | af1a298f88672892e5f20a20c42aae6ddcb9723c (patch) | |
tree | 6da6dd2304dc5711b1c482186174a3e770bfcdda | |
parent | beffde692f3d365678f5fdf60b473b93045d4161 (diff) | |
download | meta-clang-af1a298f88672892e5f20a20c42aae6ddcb9723c.tar.gz |
python3-lxml: Disable incompatible-function-pointer-types warning as error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 627b1da..8ab5bc3 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -277,6 +277,12 @@ CFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" | |||
277 | CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" | 277 | CFLAGS:append:pn-ffmpeg:riscv64 = " -march=rv64gczbb" |
278 | CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb" | 278 | CFLAGS:append:pn-ffmpeg:riscv32 = " -march=rv32gczbb" |
279 | 279 | ||
280 | # python3-lxml_5.0.0 onwards need this option with clang until the functions are fixes | ||
281 | # | src/lxml/etree.c:246911:63: error: incompatible function pointer types passing 'void (void *, const xmlError *)' (aka 'void (void *, const struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (* | ||
282 | #)(void *, struct _xmlError *)') [-Wincompatible-function-pointer-types] | ||
283 | #| 246911 | xmlSchematronSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log)); | ||
284 | #| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
285 | CFLAGS:append:pn-python3-lxml:toolchain-clang = " -Wno-error=incompatible-function-pointer-types" | ||
280 | # otherwise systemd efi fails to build | 286 | # otherwise systemd efi fails to build |
281 | # error: the 'sse' unit is not supported with this instruction set | 287 | # error: the 'sse' unit is not supported with this instruction set |
282 | TUNE_CCARGS:remove:pn-systemd:toolchain-clang = "-mfpmath=sse" | 288 | TUNE_CCARGS:remove:pn-systemd:toolchain-clang = "-mfpmath=sse" |