mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Fixed issue #798 and added -Wconversion compiler flag to build
This commit is contained in:
@@ -28,7 +28,9 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
||||
add_compile_options("-Wall")
|
||||
add_compile_options("-Wextra")
|
||||
add_compile_options("-Wconversion")
|
||||
add_compile_options("-pedantic")
|
||||
|
||||
endif()
|
||||
|
||||
#---------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user