From c22954e7dab6957c45c452225ae8b21b8cdbbc81 Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Fri, 29 Nov 2024 01:50:22 -0800 Subject: [PATCH] Enable `-Wall -Wattributes -Werror` in C++ build --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 4e5afc2b..34a2da8b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -56,7 +56,7 @@ set(UCXX_BUILD_TESTS ${BUILD_TESTS}) set(UCXX_BUILD_BENCHMARKS ${BUILD_BENCHMARKS}) set(UCXX_BUILD_EXAMPLES ${BUILD_EXAMPLES}) -set(UCXX_CXX_FLAGS "") +set(UCXX_CXX_FLAGS "-Wall" "-Wattributes" "-Werror") set(UCXX_CXX_DEFINITIONS "") # Set RMM logging level