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)
|
if (CLANG)
|
||||||
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value)
|
target_compile_options(tdsqlite PRIVATE -Wno-parentheses-equality -Wno-unused-value)
|
||||||
endif()
|
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)
|
elseif (MSVC)
|
||||||
target_compile_options(tdsqlite PRIVATE /wd4996)
|
target_compile_options(tdsqlite PRIVATE /wd4996)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user