Add Asan profile, fix multiple bugs.
Added Asan profile to help catch and fix various bugs (and indeed, there were few of them). Additionally, fixed bhunit macro to process arguments only once.
This commit is contained in:
@@ -25,5 +25,5 @@ target_include_directories(bhunit PUBLIC include)
|
||||
if(MSVC)
|
||||
target_compile_options(bhunit PRIVATE /W4 /WX)
|
||||
else()
|
||||
target_compile_options(bhunit PRIVATE -Wall -Wextra -Wpedantic -Werror)
|
||||
target_compile_options(bhunit PRIVATE -Wall -Wextra -Wpedantic -Werror -fstrict-aliasing)
|
||||
endif()
|
||||
Reference in New Issue
Block a user