File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ project(mapcode_cpp)
1818# The debug configuration adds the "address sanitizer" to check for out of bounds behavior and such.
1919# You may wish to set the following environment variables during runtime as well:
2020#
21- # export ASAN_OPTIONS=verbosity=2:debug=true:strict_string_checks=1:detect_stack_use_after_return=true:
22- # detect_invalid_pointer_pairs=99999:
23- # detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true
21+ # export ASAN_OPTIONS=debug=true:strict_string_checks=1:detect_stack_use_after_return=true:detect_invalid_pointer_pairs=99999:
22+ # detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true
2423
2524set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Werror -fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer" )
2625set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11" )
You can’t perform that action at this time.
0 commit comments