From 8daf40dcef7f4867bad01eb9c26c74125e5403b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 4 Mar 2023 13:44:09 -0800 Subject: 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 --- conf/nonclangable.conf | 5 +++++ 1 file changed, 5 insertions(+) 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 # (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict" +# 32bit builds of nodejs needs this warning to be disabled with clang16 until +# v8 engine in nodejs moved beyong this commit +# https://github.com/v8/v8/commit/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f +CXXFLAGS:pn-nodejs:append:toolchain-clang = " -Wno-error=enum-constexpr-conversion" + #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) COMPILER_RT:pn-ruby:toolchain-clang:runtime-gnu = "-rtlib=compiler-rt ${UNWINDLIB}" -- cgit v1.2.3-54-g00ecf