From 3728f1050a770f1890ad2415750c40789309cb6e Mon Sep 17 00:00:00 2001 From: Prathamesh Deshpande Date: Sun, 8 Sep 2024 00:45:49 +0530 Subject: [PATCH] revert ASan inclusion --- CMakeLists.txt | 1 - tests/data_structures/vector/CMakeLists.txt | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 043060a..59107ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,6 @@ set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_BUILD_TYPE Debug) ##set(CMAKE_BUILD_TYPE Release) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -fsanitize=undefined -fsanitize=address") # deliberately not including these subdirectories by glob regex as precaution diff --git a/tests/data_structures/vector/CMakeLists.txt b/tests/data_structures/vector/CMakeLists.txt index ab6a030..6b2c448 100644 --- a/tests/data_structures/vector/CMakeLists.txt +++ b/tests/data_structures/vector/CMakeLists.txt @@ -2,8 +2,4 @@ add_executable(vector_primitive_test vector_primitive_test.c) add_test(vector_primitive_test vector_primitive_test) add_executable(vector_struct_test vector_struct_test.c) -add_test(vector_struct_test vector_struct_test) - -add_link_options(prime-headers - BEFORE PUBLIC -fsanitize=undefined PUBLIC -fsanitize=address -) \ No newline at end of file +add_test(vector_struct_test vector_struct_test) \ No newline at end of file