Silence SQLite compiler warnings.
GitOrigin-RevId: 4883d29102526dcd426fedf12db330b532dbea70
This commit is contained in:
parent
9cf8aed326
commit
f8a550124c
@ -44,6 +44,9 @@ if (GCC OR CLANG)
|
||||
if (CLANG)
|
||||
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value)
|
||||
endif()
|
||||
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0))
|
||||
target_compile_options(tdsqlite PRIVATE -Wno-return-local-addr -Wno-stringop-overflow)
|
||||
endif()
|
||||
elseif (MSVC)
|
||||
target_compile_options(tdsqlite PRIVATE /wd4996)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user