This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new e44c0e897 build(c): suppress more noisy MSVC warnings (#1671)
e44c0e897 is described below
commit e44c0e897c71a9d191ba164b1289b494eb0d589b
Author: David Li <[email protected]>
AuthorDate: Tue Mar 26 09:27:48 2024 -0400
build(c): suppress more noisy MSVC warnings (#1671)
---
c/cmake_modules/AdbcDefines.cmake | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/c/cmake_modules/AdbcDefines.cmake
b/c/cmake_modules/AdbcDefines.cmake
index 4155cd4df..2cf5e2ffa 100644
--- a/c/cmake_modules/AdbcDefines.cmake
+++ b/c/cmake_modules/AdbcDefines.cmake
@@ -76,6 +76,10 @@ if(MSVC)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
# Allow incomplete switch (since MSVC warns even if there's a default case)
add_compile_options(/wd4061)
+ add_compile_options(/wd4100)
+ add_compile_options(/wd4623)
+ add_compile_options(/wd4625)
+ add_compile_options(/wd4626)
add_compile_options(/wd4868)
add_compile_options(/wd4710)
add_compile_options(/wd4711)