Made use of clang's Thread Safety Analysis

This commit is contained in:
eidheim 2019-06-25 11:29:36 +02:00
commit a743915d72
5 changed files with 153 additions and 40 deletions

View file

@ -1,5 +1,8 @@
if(NOT MSVC)
add_compile_options(-fno-access-control)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wno-thread-safety)
endif()
add_executable(io_test io_test.cpp)
target_link_libraries(io_test simple-web-server)