- Notifications
You must be signed in to change notification settings - Fork10.6k
Closed as not planned
Closed as not planned
Description
Description
Fresh install of Windows 10 and Swift (currently version 5.10.1).
helloworld.swift:
print("Hello, World!")
In cmd.exe, running:
swiftc helloworld.swiftPrints:
<module-includes>:1:10: note: in file included from <module-includes>:1:#include "AssertionReporting.h" ^C:\Users\Constantine\AppData\Local\Programs\Swift\Platforms\5.10.1\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\shims/AssertionReporting.h:16:10: note: in file included from C:\Users\Constantine\AppData\Local\Programs\Swift\Platforms\5.10.1\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\shims/AssertionReporting.h:16:#include "SwiftStdint.h" ^C:\Users\Constantine\AppData\Local\Programs\Swift\Platforms\5.10.1\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\shims/SwiftStdint.h:28:10: error: 'stdint.h' file not found#include <stdint.h> ^<unknown>:0: error: could not build C module 'SwiftShims'error: fatalErrorGuide me!
Reproduction
print("Hello, World!")
Run:
swiftc helloworld.swiftExpected behavior
No, Mr. Bond! I expect you to work!
Environment
$ swiftc --version
Swift version 5.10.1 (swift-5.10.1-RELEASE)
Target: x86_64-unknown-windows-msvc
Additional information
No response