diff options
-rw-r--r-- | build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build index 481ab0e..465627e 100644 --- a/build/root.build +++ b/build/root.build @@ -5,6 +5,12 @@ using cxx hxx{*}: extension = h cxx{*}: extension = cpp +if ($cxx.class == 'msvc') +{ + cxx.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS + cxx.coptions += /wd4251 /wd4275 /wd4800 +} + # The test target for cross-testing (running tests under Wine, etc). # test.target = $cxx.target |