Open
Description
Description
Caused by #70195.
Produces such error messages as:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um/xaudio2fx.h:29:1: error: unknown type name 'class'
class __declspec(uuid("4FC3B166-972A-40CF-BC37-7DB03DB2FBA3")) AudioVolumeMeter;
^
or
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um/xaudio2fx.h:265:8: error: unknown type name 'bool'
, bool sevenDotOneReverb = true
^
I don't know which version of xaudio29fx.h
is a C header. But the one obtainable via winget install --id=Microsoft.WindowsSDK.10.0.17763 -e
or choco install windows-sdk-10-version-1809-all
is very clearly a C++ header.
If this version of the Windows SDK is intentionally unsupported, then the documentation should include instructions for installing a supported version.
Reproduction
import WinSDK
Expected behavior
Should build without errors
Environment
Swift version 5.10 (swift-5.10-RELEASE)
Target: x86_64-unknown-windows-msvc
Additional information
No response