added /std:c++latest for MSVC
diff --git a/scripts/common.cmake b/scripts/common.cmake
index 54f77e1..9896430 100644
--- a/scripts/common.cmake
+++ b/scripts/common.cmake
@@ -139,6 +139,7 @@
 endif()
 
 if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
+    add_compiler_flags(/std:c++latest) # for post c++14 updates in MSVC
     add_compiler_flags(/WX)
     add_compiler_flags(/W4) # /Wall is too aggressive - even the standard C headers give thousands of errors...
 endif()