summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-03-04 13:44:09 -0800
committerKhem Raj <raj.khem@gmail.com>2023-03-20 07:48:27 -0700
commit8daf40dcef7f4867bad01eb9c26c74125e5403b7 (patch)
tree8eb07b8a4ad0fcebedcde2c9b0c49f60b008cd7b /conf
parent335f2e715ed06ea2562c19b21ba647980fcb9a4e (diff)
downloadmeta-clang-8daf40dcef7f4867bad01eb9c26c74125e5403b7.tar.gz
nodejs: Disable enum-constexpr-conversion warning as error
Clang-16 adds this new warnings which triggers on nodejs, disable it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 8225eeb..17e582f 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -278,6 +278,11 @@ CXXFLAGS:pn-vulkan-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage
278# (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 278# (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
279CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict" 279CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict"
280 280
281# 32bit builds of nodejs needs this warning to be disabled with clang16 until
282# v8 engine in nodejs moved beyong this commit
283# https://github.com/v8/v8/commit/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f
284CXXFLAGS:pn-nodejs:append:toolchain-clang = " -Wno-error=enum-constexpr-conversion"
285
281#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' 286#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
282#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) 287#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
283COMPILER_RT:pn-ruby:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}" 288COMPILER_RT:pn-ruby:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}"