diff --git a/BenchmarkComponent/BenchmarkComponent.cpp b/BenchmarkComponent/BenchmarkComponent.cpp index 7f7996e..cc4d4eb 100644 --- a/BenchmarkComponent/BenchmarkComponent.cpp +++ b/BenchmarkComponent/BenchmarkComponent.cpp @@ -46,7 +46,7 @@ namespace winrt::BenchmarkComponent::implementation return 1; } - void ClassWithMultipleInterfaces::IntProperty(int32_t val) + void ClassWithMultipleInterfaces::IntProperty(int32_t /*val*/) { } @@ -55,7 +55,7 @@ namespace winrt::BenchmarkComponent::implementation return true; } - void ClassWithMultipleInterfaces::BoolProperty(bool val) + void ClassWithMultipleInterfaces::BoolProperty(bool /*val*/) { } @@ -64,7 +64,7 @@ namespace winrt::BenchmarkComponent::implementation return 1; } - void ClassWithMultipleInterfaces::DoubleProperty(double val) + void ClassWithMultipleInterfaces::DoubleProperty(double /*val*/) { } @@ -83,22 +83,22 @@ namespace winrt::BenchmarkComponent::implementation return 1; } - void ClassWithMultipleInterfaces::DefaultIntProperty(int32_t val) + void ClassWithMultipleInterfaces::DefaultIntProperty(int32_t /*val*/) { } - void ClassWithMultipleInterfaces::DefaultBoolProperty(bool val) + void ClassWithMultipleInterfaces::DefaultBoolProperty(bool /*val*/) { } - void ClassWithMultipleInterfaces::DefaultDoubleProperty(double val) + void ClassWithMultipleInterfaces::DefaultDoubleProperty(double /*val*/) { } void ClassWithMultipleInterfaces::QueryBoolInterface(IIntProperties properties) { auto boolProperties = properties.as(); - boolProperties.BoolProperty(); + (void)boolProperties.BoolProperty(); } Windows::Foundation::Collections::IVector createList() @@ -123,7 +123,7 @@ namespace winrt::BenchmarkComponent::implementation return hstring(); } - void ClassWithMarshalingRoutines::DefaultStringProperty(hstring val) + void ClassWithMarshalingRoutines::DefaultStringProperty(hstring /*val*/) { } @@ -168,7 +168,7 @@ namespace winrt::BenchmarkComponent::implementation return createKeyValuePairObject(); } - void ClassWithMarshalingRoutines::NewTypeErasedKeyValuePairObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::NewTypeErasedKeyValuePairObject(Windows::Foundation::IInspectable /*val*/) { } @@ -177,7 +177,7 @@ namespace winrt::BenchmarkComponent::implementation return createNullableObject(); } - void ClassWithMarshalingRoutines::NewTypeErasedNullableObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::NewTypeErasedNullableObject(Windows::Foundation::IInspectable /*val*/) { } @@ -186,7 +186,7 @@ namespace winrt::BenchmarkComponent::implementation return createArrayObject(); } - void ClassWithMarshalingRoutines::NewTypeErasedArrayObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::NewTypeErasedArrayObject(Windows::Foundation::IInspectable /*val*/) { } @@ -195,7 +195,7 @@ namespace winrt::BenchmarkComponent::implementation return keyValuePairObject; } - void ClassWithMarshalingRoutines::ExistingTypeErasedKeyValuePairObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::ExistingTypeErasedKeyValuePairObject(Windows::Foundation::IInspectable /*val*/) { } @@ -204,7 +204,7 @@ namespace winrt::BenchmarkComponent::implementation return nullableObject; } - void ClassWithMarshalingRoutines::ExistingTypeErasedNullableObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::ExistingTypeErasedNullableObject(Windows::Foundation::IInspectable /*val*/) { } @@ -213,7 +213,7 @@ namespace winrt::BenchmarkComponent::implementation return arrayObject; } - void ClassWithMarshalingRoutines::ExistingTypeErasedArrayObject(Windows::Foundation::IInspectable val) + void ClassWithMarshalingRoutines::ExistingTypeErasedArrayObject(Windows::Foundation::IInspectable /*val*/) { } @@ -222,7 +222,7 @@ namespace winrt::BenchmarkComponent::implementation return make(); } - void ClassWithMarshalingRoutines::NewWrappedClassObject(BenchmarkComponent::WrappedClass val) + void ClassWithMarshalingRoutines::NewWrappedClassObject(BenchmarkComponent::WrappedClass /*val*/) { } @@ -232,7 +232,7 @@ namespace winrt::BenchmarkComponent::implementation return uri; } - void ClassWithMarshalingRoutines::NewUri(Windows::Foundation::Uri val) + void ClassWithMarshalingRoutines::NewUri(Windows::Foundation::Uri /*val*/) { } @@ -241,7 +241,7 @@ namespace winrt::BenchmarkComponent::implementation return _uri; } - void ClassWithMarshalingRoutines::ExistingUri(Windows::Foundation::Uri val) + void ClassWithMarshalingRoutines::ExistingUri(Windows::Foundation::Uri /*val*/) { } @@ -251,7 +251,7 @@ namespace winrt::BenchmarkComponent::implementation return type; } - void ClassWithMarshalingRoutines::NewType(Windows::UI::Xaml::Interop::TypeName val) + void ClassWithMarshalingRoutines::NewType(Windows::UI::Xaml::Interop::TypeName /*val*/) { } @@ -260,7 +260,7 @@ namespace winrt::BenchmarkComponent::implementation return _type; } - void ClassWithMarshalingRoutines::ExistingType(Windows::UI::Xaml::Interop::TypeName val) + void ClassWithMarshalingRoutines::ExistingType(Windows::UI::Xaml::Interop::TypeName /*val*/) { } @@ -294,7 +294,7 @@ namespace winrt::BenchmarkComponent::implementation } void ClassWithMarshalingRoutines::NullableTimeSpan(Windows::Foundation::IReference const& value) { - _int = value.Value().count(); + _int = static_cast(value.Value().count()); } Windows::Foundation::IInspectable ClassWithMarshalingRoutines::BoxedDelegate() { @@ -325,7 +325,7 @@ namespace winrt::BenchmarkComponent::implementation return int32_t(); } - void WrappedClass::DefaultIntProperty(int32_t val) + void WrappedClass::DefaultIntProperty(int32_t /*val*/) { } @@ -385,14 +385,14 @@ namespace winrt::BenchmarkComponent::implementation } void EventOperations::AddIntEvent() { - intEventToken = events.IntPropertyChanged([this](IInspectable const& sender, int32_t value) + intEventToken = events.IntPropertyChanged([this](IInspectable const& /*sender*/, int32_t value) { intVal = value; }); } void EventOperations::AddDoubleEvent() { - doubleEventToken = events.DoublePropertyChanged([this](IInspectable const& sender, double_t value) + doubleEventToken = events.DoublePropertyChanged([this](IInspectable const& /*sender*/, double_t value) { doubleVal = value; }); @@ -456,7 +456,7 @@ namespace winrt::BenchmarkComponent::implementation return true; } - void Composable::BoolProperty(bool val) + void Composable::BoolProperty(bool /*val*/) { } } \ No newline at end of file diff --git a/BenchmarkComponent/BenchmarkComponent.vcxproj b/BenchmarkComponent/BenchmarkComponent.vcxproj index c595cb2..7f772eb 100644 --- a/BenchmarkComponent/BenchmarkComponent.vcxproj +++ b/BenchmarkComponent/BenchmarkComponent.vcxproj @@ -1,6 +1,6 @@ - + high true @@ -47,14 +47,11 @@ DynamicLibrary - v140 - v141 - v142 - v143 + v143 + v145 Unicode false - @@ -75,6 +72,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 %(AdditionalOptions) /bigobj @@ -108,7 +106,7 @@ - + /fastabi %(AdditionalOptions) @@ -118,13 +116,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/BenchmarkComponent/packages.config b/BenchmarkComponent/packages.config index fbf2b74..f229371 100644 --- a/BenchmarkComponent/packages.config +++ b/BenchmarkComponent/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/BenchmarkComponent/pch.h b/BenchmarkComponent/pch.h index 3cae12f..29bab0f 100644 --- a/BenchmarkComponent/pch.h +++ b/BenchmarkComponent/pch.h @@ -1,5 +1,6 @@ #pragma once #include +#undef GetCurrentTime #include #include #include diff --git a/Console/Console.vcxproj b/Console/Console.vcxproj index 107d946..28b4c1b 100644 --- a/Console/Console.vcxproj +++ b/Console/Console.vcxproj @@ -1,6 +1,6 @@ - + true true @@ -9,7 +9,7 @@ {8ab80bfd-185a-452d-aad2-97b38aed3e4b} Win32Proj Console - 10.0.18362.0 + 10.0 10.0.17134.0 @@ -34,7 +34,7 @@ Application v143 - v142 + v145 Unicode @@ -60,6 +60,7 @@ Use pch.h $(IntDir)pch.pch + stdcpp20 _CONSOLE;%(PreprocessorDefinitions) Level4 %(AdditionalOptions) /permissive- /bigobj @@ -114,13 +115,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/Console/packages.config b/Console/packages.config index 938a92d..f229371 100644 --- a/Console/packages.config +++ b/Console/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/TestComponent/TestComponent.vcxproj b/TestComponent/TestComponent.vcxproj index 6f2b309..c1634b4 100644 --- a/TestComponent/TestComponent.vcxproj +++ b/TestComponent/TestComponent.vcxproj @@ -1,6 +1,6 @@ - + true true @@ -10,7 +10,7 @@ TestComponent en-US 14.0 - 10.0.18362.0 + 10.0 10.0.17134.0 @@ -43,7 +43,7 @@ DynamicLibrary v143 - v142 + v145 Unicode false @@ -66,22 +66,23 @@ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 %(AdditionalOptions) /bigobj @@ -150,13 +151,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/TestComponent/packages.config b/TestComponent/packages.config index 9b945bc..f229371 100644 --- a/TestComponent/packages.config +++ b/TestComponent/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/test_component_base/HierarchyA.cpp b/test_component_base/HierarchyA.cpp index af0138e..e2e21dc 100644 --- a/test_component_base/HierarchyA.cpp +++ b/test_component_base/HierarchyA.cpp @@ -4,7 +4,7 @@ namespace winrt::test_component_base::implementation { - HierarchyA::HierarchyA(hstring const& name) + HierarchyA::HierarchyA(hstring const& /*name*/) { throw hresult_not_implemented(); } diff --git a/test_component_base/HierarchyB.cpp b/test_component_base/HierarchyB.cpp index 2955b95..214cc28 100644 --- a/test_component_base/HierarchyB.cpp +++ b/test_component_base/HierarchyB.cpp @@ -4,7 +4,7 @@ namespace winrt::test_component_base::implementation { - HierarchyB::HierarchyB(hstring const& name) + HierarchyB::HierarchyB(hstring const& /*name*/) { throw hresult_not_implemented(); } diff --git a/test_component_base/packages.config b/test_component_base/packages.config index 626739c..f229371 100644 --- a/test_component_base/packages.config +++ b/test_component_base/packages.config @@ -1,4 +1,4 @@ - - - + + + \ No newline at end of file diff --git a/test_component_base/test_component_base.vcxproj b/test_component_base/test_component_base.vcxproj index 6d75ffe..4bddef0 100644 --- a/test_component_base/test_component_base.vcxproj +++ b/test_component_base/test_component_base.vcxproj @@ -1,159 +1,159 @@ - - - - - true - true - true - {13333A6F-6A4A-48CD-865C-0F65135EB018} - test_component_base - test_component_base - en-US - 14.0 - 10.0.18362.0 - 10.0.17134.0 - - - - - Debug - ARM - - - Debug - Win32 - - - Debug - x64 - - - Release - ARM - - - Release - Win32 - - - Release - x64 - - - - DynamicLibrary - v143 - v142 - Unicode - false - - - true - true - - - false - true - false - - - - - - - - - - - - $(SolutionDir)x64\$(Configuration)\$(ProjectName) - - - $(SolutionDir)x64\$(Configuration)\$(ProjectName) - - - $(SolutionDir)x86\$(Configuration)\$(ProjectName) - - - $(SolutionDir)x86\$(Configuration)\$(ProjectName) - - - - Use - pch.h - $(IntDir)pch.pch - Level4 - %(AdditionalOptions) /bigobj - - /DWINRT_NO_MAKE_DETECTION %(AdditionalOptions) - 28204 - _WINRT_DLL;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - true - exports.def - - - - - _DEBUG;%(PreprocessorDefinitions) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - - - NDEBUG;%(PreprocessorDefinitions) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - copy $(OutDir)$(ProjectName).winmd $(SolutionDir) - - - - - - - - - - - - Create - - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + + + + + true + true + true + {13333A6F-6A4A-48CD-865C-0F65135EB018} + test_component_base + test_component_base + en-US + 14.0 + 10.0 + 10.0.17134.0 + + + + + Debug + ARM + + + Debug + Win32 + + + Debug + x64 + + + Release + ARM + + + Release + Win32 + + + Release + x64 + + + + DynamicLibrary + v143 + v145 + Unicode + false + + + true + true + + + false + true + false + + + + + + + + + + + + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ + + + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ + + + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ + + + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ + + + + Use + pch.h + $(IntDir)pch.pch + stdcpp20 + Level4 + %(AdditionalOptions) /bigobj + + /DWINRT_NO_MAKE_DETECTION %(AdditionalOptions) + 28204 + _WINRT_DLL;%(PreprocessorDefinitions) + $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) + + + Console + true + exports.def + + + + + _DEBUG;%(PreprocessorDefinitions) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + + + NDEBUG;%(PreprocessorDefinitions) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + copy $(OutDir)$(ProjectName).winmd $(SolutionDir) + + + + + + + + + + + + Create + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + \ No newline at end of file diff --git a/test_component_base/test_component_base.vcxproj.filters b/test_component_base/test_component_base.vcxproj.filters index 6107735..3c4e53c 100644 --- a/test_component_base/test_component_base.vcxproj.filters +++ b/test_component_base/test_component_base.vcxproj.filters @@ -1,30 +1,30 @@ - - - - - accd3aa8-1ba0-4223-9bbe-0c431709210b - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms - - - {926ab91d-31b4-48c3-b9a4-e681349f27f0} - - - - - - - - - - - - - - - - - - - - + + + + + accd3aa8-1ba0-4223-9bbe-0c431709210b + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms + + + {926ab91d-31b4-48c3-b9a4-e681349f27f0} + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test_component_derived/Nested.HierarchyC.cpp b/test_component_derived/Nested.HierarchyC.cpp index 4b36755..b1e5d73 100644 --- a/test_component_derived/Nested.HierarchyC.cpp +++ b/test_component_derived/Nested.HierarchyC.cpp @@ -5,7 +5,7 @@ namespace winrt::test_component_derived::Nested::implementation { - HierarchyC::HierarchyC(hstring const& name) + HierarchyC::HierarchyC(hstring const& /*name*/) { throw hresult_not_implemented(); } diff --git a/test_component_derived/Nested.HierarchyD.cpp b/test_component_derived/Nested.HierarchyD.cpp index 833ac37..843223b 100644 --- a/test_component_derived/Nested.HierarchyD.cpp +++ b/test_component_derived/Nested.HierarchyD.cpp @@ -4,7 +4,7 @@ namespace winrt::test_component_derived::Nested::implementation { - HierarchyD::HierarchyD(hstring const& name) + HierarchyD::HierarchyD(hstring const& /*name*/) { throw hresult_not_implemented(); } diff --git a/test_component_derived/packages.config b/test_component_derived/packages.config index 626739c..f229371 100644 --- a/test_component_derived/packages.config +++ b/test_component_derived/packages.config @@ -1,4 +1,4 @@ - - - + + + \ No newline at end of file diff --git a/test_component_derived/pch.h b/test_component_derived/pch.h index 76c2087..b7a46a4 100644 --- a/test_component_derived/pch.h +++ b/test_component_derived/pch.h @@ -1,2 +1,4 @@ #pragma once +#include +#undef GetCurrentTime #include diff --git a/test_component_derived/test_component_derived.vcxproj b/test_component_derived/test_component_derived.vcxproj index e2da0f6..cd33cbc 100644 --- a/test_component_derived/test_component_derived.vcxproj +++ b/test_component_derived/test_component_derived.vcxproj @@ -1,6 +1,6 @@ - + true true @@ -10,7 +10,7 @@ test_component_derived en-US 14.0 - 10.0.18362.0 + 10.0 10.0.17134.0 @@ -46,7 +46,7 @@ DynamicLibrary v143 - v142 + v145 Unicode false @@ -69,22 +69,23 @@ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 %(AdditionalOptions) /bigobj @@ -147,18 +148,18 @@ - + - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/test_component_fast/Composition.Visual.cpp b/test_component_fast/Composition.Visual.cpp index 9225690..fdfd3e7 100644 --- a/test_component_fast/Composition.Visual.cpp +++ b/test_component_fast/Composition.Visual.cpp @@ -23,7 +23,7 @@ namespace winrt::test_component_fast::Composition::implementation { return m_pad; } - winrt::hstring Visual::Serialize(int32_t number) + winrt::hstring Visual::Serialize(int32_t /*number*/) { return winrt::hstring(); } diff --git a/test_component_fast/test_component_fast.vcxproj b/test_component_fast/test_component_fast.vcxproj index e135855..67b8a5b 100644 --- a/test_component_fast/test_component_fast.vcxproj +++ b/test_component_fast/test_component_fast.vcxproj @@ -1,6 +1,6 @@ - + true true @@ -43,10 +43,8 @@ DynamicLibrary - v140 - v141 - v142 - v143 + v143 + v145 Unicode false @@ -69,22 +67,23 @@ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x64\$(Configuration)\$(ProjectName) + $(SolutionDir)x64\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ - $(SolutionDir)x86\$(Configuration)\$(ProjectName) + $(SolutionDir)x86\$(Configuration)\$(ProjectName)\ Use pch.h $(IntDir)pch.pch + stdcpp20 Level4 %(AdditionalOptions) /bigobj @@ -159,13 +158,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file