Made use of clang's Thread Safety Analysis
This commit is contained in:
parent
39fb720aa9
commit
a743915d72
5 changed files with 153 additions and 40 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue