Skip to content

Commit 44844a5

Browse files
authored
Merge branch 'main' into fix-transaction-processing
2 parents 3dbe73d + 89cb2a9 commit 44844a5

24 files changed

Lines changed: 166 additions & 111 deletions

File tree

.github/workflows/Code-Scanning.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
language: [ 'cpp' ]
38+
include:
39+
- language: c-cpp
40+
build-mode: manual
3941

4042
steps:
4143
- name: Checkout repository
@@ -44,20 +46,31 @@ jobs:
4446
submodules: 'recursive'
4547
- name: Install Nuget Packages
4648
run: nuget restore .\packages.config -PackagesDirectory .\packages\
47-
49+
- name: Get changed files
50+
id: get-changed-files
51+
uses: tj-actions/changed-files@v41
52+
with:
53+
separator: ","
4854
- name: Initialize CodeQL
4955
uses: github/codeql-action/init@v3
5056
with:
5157
languages: ${{ matrix.language }}
58+
build-mode: ${{ matrix.build-mode }}
5259
config-file: microsoft/Windows-Driver-Developer-Supplemental-Tools/config/codeql-config.yml@development
53-
packs: +microsoft/windows-drivers@1.2.0-beta
54-
- name: Retrieve and build all available solutions
60+
- if: github.event_name == 'pull_request'
61+
run: |
62+
$changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(',')
63+
.\.github\scripts\Build-ChangedSamples.ps1 -ChangedFiles $changedFiles -Verbose
64+
env:
65+
WDS_Configuration: Debug
66+
WDS_Platform: x64
67+
WDS_WipeOutputs: ${{ true }}
68+
- if: github.event_name == 'push'
5569
run: .\Build-AllSamples.ps1 -Verbose -ThrottleLimit 1
5670
env:
5771
WDS_Configuration: Debug
5872
WDS_Platform: x64
5973
WDS_WipeOutputs: ${{ true }}
60-
6174
- name: Perform CodeQL analysis
6275
uses: github/codeql-action/analyze@v3
6376
with:

.github/workflows/ci-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Get changed files
2929
id: get-changed-files
30-
uses: tj-actions/changed-files@v41
30+
uses: tj-actions/changed-files@v46
3131
with:
3232
separator: ","
3333

Build-Sample.ps1

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,39 +147,42 @@ $myexit=0
147147
# If we fail at first, but succeed at either of next two attempts, then it is a sporadic failure.
148148
# If we even at third attempt fail, then it is a true failure.
149149
#
150-
for ($i=0; $i -le 2; $i++) {
150+
for ($i = 0; $i -lt 3; $i++)
151+
{
152+
$binLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.$i.binlog"
151153
$errorLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.$i.err"
152154
$warnLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.$i.wrn"
153155
$OutLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.$i.out"
154156

155-
msbuild $solutionFile -clp:Verbosity=m -t:rebuild -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="$InfVerif_AdditionalOptions" -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath
156-
if ($env:WDS_WipeOutputs -ne $null)
157+
msbuild $solutionFile -clp:Verbosity=m -t:rebuild -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="$InfVerif_AdditionalOptions" -warnaserror -binaryLogger:LogFile=$binLogFilePath`;ProjectImports=None -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath
158+
if ($null -ne $env:WDS_WipeOutputs)
157159
{
158-
Write-Verbose ("WipeOutputs: "+$Directory+" "+(((Get-Volume ($DriveLetter=(Get-Item ".").PSDrive.Name)).SizeRemaining/1GB)))
159-
Get-ChildItem -path $Directory -Recurse -Include x64|Remove-Item -Recurse
160-
Get-ChildItem -path $Directory -Recurse -Include arm64|Remove-Item -Recurse
160+
Write-Verbose ("WipeOutputs: " + $Directory + " " + (((Get-Volume (Get-Item ".").PSDrive.Name).SizeRemaining / 1GB)))
161+
Get-ChildItem -path $Directory -Recurse -Include x64 | Remove-Item -Recurse
162+
Get-ChildItem -path $Directory -Recurse -Include arm64 | Remove-Item -Recurse
161163
}
162164
if ($LASTEXITCODE -eq 0)
163165
{
164166
# We succeeded building.
165-
# If at first attempt, then $myexit=0
166-
# If at later attempt, then $myexit=2
167+
# If it was at a later attempt, let the caller know with a different exit code.
167168
if ($i -eq 0)
168169
{
169-
$myexit=0
170+
$myexit = 0
170171
}
171172
else
172173
{
173-
$myexit=2
174+
$myexit = 2
174175
}
175-
break;
176+
# Remove binlog on success to save space; keep otherwise to diagnose issues.
177+
Remove-Item $binLogFilePath
178+
break;
176179
}
177180
else
178181
{
179182
# We failed building.
180183
# Let us sleep for a bit.
181184
# Then let the while loop do its thing and re-run.
182-
sleep 1
185+
Start-Sleep 1
183186
if ($Verbose)
184187
{
185188
Write-Warning "`u{274C} Build failed. Retrying to see if sporadic..."

Build-SampleSet.ps1

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $root = Get-Location
1414
if (-not $env:VSCMD_VER) {
1515
Import-Module (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\2022\*\Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
1616
Enter-VsDevShell -VsInstallPath (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\2022\*")
17-
cd $root
17+
Set-Location $root
1818
}
1919

2020
$ThrottleFactor = 5
@@ -97,19 +97,25 @@ else {
9797

9898
# Dump all environment variables so as to help debug error:
9999
Write-Output "Environment variables {"
100-
gci env:* | sort-object name
100+
Get-ChildItem env:* | Sort-Object name
101101
Write-Output "Environment variables }"
102102

103103
Write-Error "Could not determine build environment."
104104
exit 1
105105
}
106106
#
107107
# Get the WDK extension version from installed packages
108-
$wdk_extension_ver = ls "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" | Select -ExpandProperty Name
108+
$wdk_extension_ver = Get-ChildItem "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" | Select-Object -ExpandProperty Name
109109
$wdk_extension_ver = ([regex]'(\d+\.)(\d+\.)(\d+\.)(\d+)').Matches($wdk_extension_ver).Value
110110
if (-not $wdk_extension_ver) {
111-
Write-Error "No version of the WDK Visual Studio Extension could be found. The WDK Extension is not installed."
112-
exit 1
111+
# Be lenient with EWDK builds that do not include the package information
112+
if ($build_environment -match '^EWDK') {
113+
$wdk_extension_ver = "(package not found)"
114+
}
115+
else {
116+
Write-Error "No version of the WDK Visual Studio Extension could be found. The WDK Extension is not installed."
117+
exit 1
118+
}
113119
}
114120
#
115121
#
@@ -348,7 +354,7 @@ $Results = $jresult.Results
348354
Write-Output "Built all combinations."
349355
Write-Output ""
350356
Write-Output "Elapsed time: $min minutes, $seconds seconds."
351-
Write-Output ("Disk Remaining (GB): " + (((Get-Volume ($DriveLetter = (Get-Item ".").PSDrive.Name)).SizeRemaining / 1GB)))
357+
Write-Output ("Disk Remaining (GB): " + (((Get-Volume (Get-Item ".").PSDrive.Name).SizeRemaining / 1GB)))
352358
Write-Output ("Samples: " + $sampleSet.Count)
353359
Write-Output ("Configurations: " + $Configurations.Count + " (" + $Configurations + ")")
354360
Write-Output ("Platforms: " + $Platforms.Count + " (" + $Platforms + ")")

Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
2-
<Import Project="packages\Microsoft.Windows.WDK.x64.10.0.26100.2454\build\native\Microsoft.Windows.WDK.x64.props" Condition="Exists('packages\Microsoft.Windows.WDK.x64.10.0.26100.2454\build\native\Microsoft.Windows.WDK.x64.props') and '$(Platform)' == 'x64'"/>
3-
<Import Project="packages\Microsoft.Windows.WDK.arm64.10.0.26100.2454\build\native\Microsoft.Windows.WDK.arm64.props" Condition="Exists('packages\Microsoft.Windows.WDK.arm64.10.0.26100.2454\build\native\Microsoft.Windows.WDK.arm64.props') and '$(Platform)' == 'ARM64'"/>
4-
<Import Project="packages\Microsoft.Windows.SDK.CPP.x64.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.x64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.x64.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.x64.props') and '$(Platform)' == 'x64'"/>
5-
<Import Project="packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.arm64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.arm64.props') and '$(Platform)' == 'ARM64'"/>
6-
<Import Project="packages\Microsoft.Windows.SDK.CPP.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.10.0.26100.2454\build\native\Microsoft.Windows.SDK.cpp.props')"/>
2+
<Import Project="packages\Microsoft.Windows.WDK.x64.10.0.26100.3323\build\native\Microsoft.Windows.WDK.x64.props" Condition="Exists('packages\Microsoft.Windows.WDK.x64.10.0.26100.3323\build\native\Microsoft.Windows.WDK.x64.props') and '$(Platform)' == 'x64'"/>
3+
<Import Project="packages\Microsoft.Windows.WDK.arm64.10.0.26100.3323\build\native\Microsoft.Windows.WDK.arm64.props" Condition="Exists('packages\Microsoft.Windows.WDK.arm64.10.0.26100.3323\build\native\Microsoft.Windows.WDK.arm64.props') and '$(Platform)' == 'ARM64'"/>
4+
<Import Project="packages\Microsoft.Windows.SDK.CPP.x64.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.x64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.x64.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.x64.props') and '$(Platform)' == 'x64'"/>
5+
<Import Project="packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.arm64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.arm64.props') and '$(Platform)' == 'ARM64'"/>
6+
<Import Project="packages\Microsoft.Windows.SDK.CPP.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.10.0.26100.3323\build\native\Microsoft.Windows.SDK.cpp.props')"/>
77
</Project>

audio/sysvad/APO/AecApo/AecApo.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
</PropertyGroup>
124124
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125125
<ClCompile>
126+
<LanguageStandard>stdcpp17</LanguageStandard>
126127
<TreatWarningAsError>true</TreatWarningAsError>
127128
<WarningLevel>Level4</WarningLevel>
128129
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -147,6 +148,7 @@
147148
</ItemDefinitionGroup>
148149
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
149150
<ClCompile>
151+
<LanguageStandard>stdcpp17</LanguageStandard>
150152
<TreatWarningAsError>true</TreatWarningAsError>
151153
<WarningLevel>Level4</WarningLevel>
152154
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -172,6 +174,7 @@
172174
</ItemDefinitionGroup>
173175
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
174176
<ClCompile>
177+
<LanguageStandard>stdcpp17</LanguageStandard>
175178
<TreatWarningAsError>true</TreatWarningAsError>
176179
<WarningLevel>Level4</WarningLevel>
177180
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -196,6 +199,7 @@
196199
</ItemDefinitionGroup>
197200
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
198201
<ClCompile>
202+
<LanguageStandard>stdcpp17</LanguageStandard>
199203
<TreatWarningAsError>true</TreatWarningAsError>
200204
<WarningLevel>Level4</WarningLevel>
201205
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>

audio/sysvad/APO/DelayAPO/DelayAPO.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
</PropertyGroup>
124124
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125125
<ClCompile>
126+
<LanguageStandard>stdcpp17</LanguageStandard>
126127
<TreatWarningAsError>true</TreatWarningAsError>
127128
<WarningLevel>Level4</WarningLevel>
128129
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -147,6 +148,7 @@
147148
</ItemDefinitionGroup>
148149
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
149150
<ClCompile>
151+
<LanguageStandard>stdcpp17</LanguageStandard>
150152
<TreatWarningAsError>true</TreatWarningAsError>
151153
<WarningLevel>Level4</WarningLevel>
152154
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -172,6 +174,7 @@
172174
</ItemDefinitionGroup>
173175
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
174176
<ClCompile>
177+
<LanguageStandard>stdcpp17</LanguageStandard>
175178
<TreatWarningAsError>true</TreatWarningAsError>
176179
<WarningLevel>Level4</WarningLevel>
177180
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -196,6 +199,7 @@
196199
</ItemDefinitionGroup>
197200
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
198201
<ClCompile>
202+
<LanguageStandard>stdcpp17</LanguageStandard>
199203
<TreatWarningAsError>true</TreatWarningAsError>
200204
<WarningLevel>Level4</WarningLevel>
201205
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>

audio/sysvad/APO/KWSApo/KWSApo.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
</PropertyGroup>
124124
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125125
<ClCompile>
126+
<LanguageStandard>stdcpp17</LanguageStandard>
126127
<TreatWarningAsError>true</TreatWarningAsError>
127128
<WarningLevel>Level4</WarningLevel>
128129
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -147,6 +148,7 @@
147148
</ItemDefinitionGroup>
148149
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
149150
<ClCompile>
151+
<LanguageStandard>stdcpp17</LanguageStandard>
150152
<TreatWarningAsError>true</TreatWarningAsError>
151153
<WarningLevel>Level4</WarningLevel>
152154
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -172,6 +174,7 @@
172174
</ItemDefinitionGroup>
173175
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
174176
<ClCompile>
177+
<LanguageStandard>stdcpp17</LanguageStandard>
175178
<TreatWarningAsError>true</TreatWarningAsError>
176179
<WarningLevel>Level4</WarningLevel>
177180
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -196,6 +199,7 @@
196199
</ItemDefinitionGroup>
197200
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
198201
<ClCompile>
202+
<LanguageStandard>stdcpp17</LanguageStandard>
199203
<TreatWarningAsError>true</TreatWarningAsError>
200204
<WarningLevel>Level4</WarningLevel>
201205
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>

audio/sysvad/APO/SwapAPO/SwapAPO.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
</PropertyGroup>
124124
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125125
<ClCompile>
126+
<LanguageStandard>stdcpp17</LanguageStandard>
126127
<TreatWarningAsError>true</TreatWarningAsError>
127128
<WarningLevel>Level4</WarningLevel>
128129
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -147,6 +148,7 @@
147148
</ItemDefinitionGroup>
148149
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
149150
<ClCompile>
151+
<LanguageStandard>stdcpp17</LanguageStandard>
150152
<TreatWarningAsError>true</TreatWarningAsError>
151153
<WarningLevel>Level4</WarningLevel>
152154
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -172,6 +174,7 @@
172174
</ItemDefinitionGroup>
173175
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
174176
<ClCompile>
177+
<LanguageStandard>stdcpp17</LanguageStandard>
175178
<TreatWarningAsError>true</TreatWarningAsError>
176179
<WarningLevel>Level4</WarningLevel>
177180
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>
@@ -196,6 +199,7 @@
196199
</ItemDefinitionGroup>
197200
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
198201
<ClCompile>
202+
<LanguageStandard>stdcpp17</LanguageStandard>
199203
<TreatWarningAsError>true</TreatWarningAsError>
200204
<WarningLevel>Level4</WarningLevel>
201205
<PreprocessorDefinitions>%(PreprocessorDefinitions);_WINDLL;_USRDLL;UNICODE;_UNICODE</PreprocessorDefinitions>

audio/sysvad/EndpointsCommon/EndpointsCommon.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND</PreprocessorDefinitions>
9595
</ResourceCompile>
9696
<ClCompile>
97+
<LanguageStandard>stdcpp17</LanguageStandard>
9798
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.</AdditionalIncludeDirectories>
9899
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_</PreprocessorDefinitions>
99100
<ExceptionHandling>
@@ -114,6 +115,7 @@
114115
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND</PreprocessorDefinitions>
115116
</ResourceCompile>
116117
<ClCompile>
118+
<LanguageStandard>stdcpp17</LanguageStandard>
117119
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.</AdditionalIncludeDirectories>
118120
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_</PreprocessorDefinitions>
119121
<ExceptionHandling>
@@ -134,6 +136,7 @@
134136
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND</PreprocessorDefinitions>
135137
</ResourceCompile>
136138
<ClCompile>
139+
<LanguageStandard>stdcpp17</LanguageStandard>
137140
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.</AdditionalIncludeDirectories>
138141
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_</PreprocessorDefinitions>
139142
<ExceptionHandling>
@@ -154,6 +157,7 @@
154157
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND</PreprocessorDefinitions>
155158
</ResourceCompile>
156159
<ClCompile>
160+
<LanguageStandard>stdcpp17</LanguageStandard>
157161
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);..;.</AdditionalIncludeDirectories>
158162
<PreprocessorDefinitions>%(PreprocessorDefinitions);_USE_WAVERT_;SYSVAD_BTH_BYPASS;SYSVAD_USB_SIDEBAND;_NEW_DELETE_OPERATORS_</PreprocessorDefinitions>
159163
<ExceptionHandling>

0 commit comments

Comments
 (0)