From 36d6b63f85a0d2cb149fa060cf308be3b5ea9f14 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 3 Feb 2025 16:08:41 -0600 Subject: [PATCH] [libc][NFC] Silence C99 extension warnings on clang for RPC Summary: This only shows up during the build of the server, silence it. --- libc/utils/gpu/server/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/utils/gpu/server/CMakeLists.txt b/libc/utils/gpu/server/CMakeLists.txt index a109d603318b..ae8a0d902f45 100644 --- a/libc/utils/gpu/server/CMakeLists.txt +++ b/libc/utils/gpu/server/CMakeLists.txt @@ -11,6 +11,7 @@ target_include_directories(llvmlibc_rpc_server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR # Ignore unsupported clang attributes if we're using GCC. target_compile_options(llvmlibc_rpc_server PUBLIC + $<$:-Wno-c99-extensions> $<$:-Wno-attributes>) target_compile_definitions(llvmlibc_rpc_server PUBLIC LIBC_COPT_USE_C_ASSERT