diff --git a/sycl-jit/jit-compiler/CMakeLists.txt b/sycl-jit/jit-compiler/CMakeLists.txt index 04e4da5f6906f..e0ac377ac4195 100644 --- a/sycl-jit/jit-compiler/CMakeLists.txt +++ b/sycl-jit/jit-compiler/CMakeLists.txt @@ -188,6 +188,9 @@ if(WIN32) endif() target_compile_options(sycl-jit PRIVATE ${SYCL_JIT_WARNING_FLAGS}) +# Host GCC can hit -Werror=conversion on Clang headers in DeviceCompilation.cpp; +target_compile_options(sycl-jit PRIVATE + $<$:-Wno-error=conversion>) # Mark LLVM and SPIR-V headers as system headers to ignore warnigns in them. # This classification remains intact even if the same paths are added as normal