Commit 5cf5d11a authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Discard unsafe buffer load warning

parent c63dbb8b
...@@ -241,6 +241,7 @@ include_directories(BEFORE ...@@ -241,6 +241,7 @@ include_directories(BEFORE
SET(BUILD_DEV ON CACHE BOOL "BUILD_DEV") SET(BUILD_DEV ON CACHE BOOL "BUILD_DEV")
if(BUILD_DEV) if(BUILD_DEV)
add_compile_options(-Werror) add_compile_options(-Werror)
add_compile_options(-Wno-unsafe-buffer-usage)
add_compile_options(-Weverything) add_compile_options(-Weverything)
endif() endif()
message("CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") message("CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment