Skip to content

Commit 0331802

Browse files
committed
remove the not so useful compile-time info
1 parent fbb33c0 commit 0331802

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

unittest/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,6 @@ endif()
354354
if(BUILD_WITH_RTSAN)
355355
add_pinocchio_unit_test(dynamic-allocations)
356356
get_cpp_test_name(dynamic-allocations ${CMAKE_CURRENT_SOURCE_DIR} test_name)
357-
# RTSan (function effects) Enable compile-time warnings
358-
target_compile_options(${test_name} PRIVATE -Wfunction-effects)
359-
target_compile_options(${test_name} PRIVATE -Wperf-constraint-implies-noexcept)
360-
# RTSan: Enable runtime checks (triggers errors)
361357
target_compile_options(${test_name} PRIVATE -fsanitize=realtime)
362358
target_link_options(${test_name} PRIVATE -fsanitize=realtime)
363359
endif()

0 commit comments

Comments
 (0)