From c2df7ba7e76dd119c7265aed2a296040e9871828 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 7 Oct 2019 13:07:14 +0300 Subject: Adapt libsqlite3 tests and sqlite3 for building with Clang on Windows --- sqlite3/build/root.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sqlite3') diff --git a/sqlite3/build/root.build b/sqlite3/build/root.build index 678c40e..50eec4a 100644 --- a/sqlite3/build/root.build +++ b/sqlite3/build/root.build @@ -6,11 +6,11 @@ using c h{*}: extension = h c{*}: extension = c -if ($c.class == 'msvc') -{ +if ($c.target.system == 'win32-msvc') c.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + +if ($c.class == 'msvc') c.coptions += /wd4251 /wd4275 /wd4800 -} # Specify the test target for cross-testing. # -- cgit v1.1