Repository navigation
Windows: the first build's errors fixed, version 0.9.17 - #159
Open
jacques-pr wants to merge 2 commits into
Open
jacques-pr wants to merge 2 commits into
jacques-pr wants to merge 2 commits into
Conversation
…on 0.9.15
- Windows' own calls answer with a plain Bool in Swift 6.4, so `.boolValue` is gone (Linux/WindowsCalls.swift).
- The QR code's text rows are joined strings: `String(row.map { … })` could be read two ways there.
- zlib's `uLong` is 32 bits on Windows: the gzip bound is asked with that type.
Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zWAb9NE9fkNfceGiwqR
Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com> Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EE8zWAb9NE9fkNfceGiwqR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first build of the service on Windows (Swift 6.4.3, x86_64) stopped on six errors of three kinds. This fixes them. More may follow: the compiler stops at the first files that fail, so the Windows half of the socket calls may not have been reached yet.
What changed
Linux/WindowsCalls.swift): in Swift 6.4 they answer with a plainBool, so.boolValueis gone from the four places that read memory, processor time and disk space.App/QRCode.swift):String(row.map { $0 ? "1" : "0" })could be read as characters or as strings on Windows. The row is now joined strings.Linux/Compression.swift): zlib'suLongis 32 bits on Windows, so the size is passed asuLong.Checked
scripts/check.sh --quick: 9 of 9 passed (Tokenmeter 0.9.17, x86_64): syntax of 344 Swift files, embedded files, agents, 6117 checks in Tests/, the release build, and the wire, storage, history-store and mesh service tests.The service also builds on Linux as a stand-in for Windows (
os(Windows)true,os(Linux)false). Not compiled on Windows or a Mac here.To try on Windows
https://claude.ai/code/session_01EE8zWAb9NE9fkNfceGiwqR
Generated by Claude Code