From e769e76ce4fb38d535cf32d27cf35c278ff207e0 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 4 Feb 2019 10:05:46 -0800 Subject: enable sub-second snapshot timers (nw) (#4493) * enable sub-second snapshot timers (nw) * switch to attotime, accept doubles * support LLVM extension in MSVC make vsllvm using extension from here: https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain --- scripts/genie.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'scripts/genie.lua') diff --git a/scripts/genie.lua b/scripts/genie.lua index 2696ad6db96..5d85297dfee 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1417,6 +1417,29 @@ configuration { "winphone8* or winstore8*" } linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata } +configuration { "llvm" } + buildoptions { + "-Wno-tautological-constant-out-of-range-compare", + "-Wno-ignored-qualifiers", + "-Wno-missing-field-initializers", + "-Wno-ignored-pragma-optimize", + "-Wno-unknown-warning-option", + "-Wno-unused-function", + "-Wno-unused-label", + "-Wno-unused-local-typedef", + "-Wno-unused-const-variable", + "-Wno-unneeded-internal-declaration", + "-Wno-unused-private-field", + "-Wno-missing-braces", + "-Wno-unused-variable", + "-Wno-tautological-pointer-compare", + "-Wno-nonportable-include-path", + "-Wno-enum-conversion", + "-Wno-pragma-pack", + "-Wno-new-returns-null", + "-Wno-switch", + "-Wno-tautological-undefined-compare", + } -- adding this till we sort out asserts in debug mode -- cgit v1.2.3-70-g09d2