From c062d69203aed1c1ba6b0429a4e0948d0d3eebfa Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Fri, 2 Apr 2021 23:53:42 +0530 Subject: [PATCH 1/4] _MSVC_STL_UPDATE changed of current month --- stl/inc/yvals_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index dc1819b0719..fd88225e9db 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -521,7 +521,7 @@ #define _CPPLIB_VER 650 #define _MSVC_STL_VERSION 142 -#define _MSVC_STL_UPDATE 202103L +#define _MSVC_STL_UPDATE 202104L #ifndef _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH #ifdef __CUDACC__ From 399b2270e0632414c6bf37c674154d02e65759a4 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Fri, 16 Apr 2021 08:57:57 +0530 Subject: [PATCH 2/4] Changed Remaining C cast to CPP --- stl/src/filesys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stl/src/filesys.cpp b/stl/src/filesys.cpp index cd1435c264b..b74b6d66afb 100644 --- a/stl/src/filesys.cpp +++ b/stl/src/filesys.cpp @@ -34,7 +34,7 @@ static file_type _Map_mode(int _Mode) { // map Windows file attributes to file_s } _FS_DLL void __CLRCALL_PURE_OR_CDECL _Close_dir(void* _Handle) { // close a directory - FindClose((HANDLE) _Handle); + FindClose(static_cast(_Handle)); } // DIRECTORY FUNCTIONS @@ -62,7 +62,7 @@ _FS_DLL wchar_t* __CLRCALL_PURE_OR_CDECL _Read_dir( WIN32_FIND_DATAW _Dentry; for (;;) { - if (FindNextFileW((HANDLE) _Handle, &_Dentry) == 0) { // fail + if (FindNextFileW(static_cast(_Handle), &_Dentry) == 0) { // fail _Ftype = file_type::unknown; return _Strcpy(_Dest, L""); } From b245d5254c138a389023737d8bf6bd285dff874f Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Wed, 21 Apr 2021 08:50:11 +0530 Subject: [PATCH 3/4] removed cast --- stl/src/filesys.cpp | 4 ++-- .../GH_000525_missing_execution_policy_overloads/env.lst | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst diff --git a/stl/src/filesys.cpp b/stl/src/filesys.cpp index b74b6d66afb..492d8955a56 100644 --- a/stl/src/filesys.cpp +++ b/stl/src/filesys.cpp @@ -34,7 +34,7 @@ static file_type _Map_mode(int _Mode) { // map Windows file attributes to file_s } _FS_DLL void __CLRCALL_PURE_OR_CDECL _Close_dir(void* _Handle) { // close a directory - FindClose(static_cast(_Handle)); + FindClose(_Handle); } // DIRECTORY FUNCTIONS @@ -62,7 +62,7 @@ _FS_DLL wchar_t* __CLRCALL_PURE_OR_CDECL _Read_dir( WIN32_FIND_DATAW _Dentry; for (;;) { - if (FindNextFileW(static_cast(_Handle), &_Dentry) == 0) { // fail + if (FindNextFileW(_Handle, &_Dentry) == 0) { // fail _Ftype = file_type::unknown; return _Strcpy(_Dest, L""); } diff --git a/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst b/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst new file mode 100644 index 00000000000..1f3dc81ee8b --- /dev/null +++ b/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst @@ -0,0 +1,4 @@ +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + +RUNALL_INCLUDE ..\native_17_matrix.lst From 884841f50af058c35a830c2a375037fd7782c8fc Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Wed, 21 Apr 2021 08:51:23 +0530 Subject: [PATCH 4/4] removed extra folder --- .../GH_000525_missing_execution_policy_overloads/env.lst | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst diff --git a/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst b/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst deleted file mode 100644 index 1f3dc81ee8b..00000000000 --- a/tests/std/tests/GH_000525_missing_execution_policy_overloads/env.lst +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) Microsoft Corporation. -# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - -RUNALL_INCLUDE ..\native_17_matrix.lst