Skip to content

Fixes for modern clang.#1

Open
0cyn wants to merge 1 commit intojonpalmisc:masterfrom
0cyn:fix_for_modern_clang
Open

Fixes for modern clang.#1
0cyn wants to merge 1 commit intojonpalmisc:masterfrom
0cyn:fix_for_modern_clang

Conversation

@0cyn
Copy link
Copy Markdown

@0cyn 0cyn commented May 5, 2026

This doesn't compile out of the box on macOS 26.

Mostly this updates submodules, additionally had to import vector in one file (see https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html#deprecations-and-removals , past LLVM 17 vector defs no longer included in <string> in any standard version.)

Untested because I can't find my t8015.

Here is the patch file if you don't want the contribs graph being polluted

From 46472cc7e6d7157146222ba2139c8cfa7c793cba Mon Sep 17 00:00:00 2001
From: 0cyn <sky@cynder.me>
Date: Tue, 5 May 2026 12:57:47 -0400
Subject: [PATCH] Fixes for modern clang.

---
 external/argh                | 2 +-
 external/jsx                 | 2 +-
 external/sol2                | 2 +-
 include/respawn/usb/client.h | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/external/argh b/external/argh
index c429ee2..c3f0d8c 160000
--- a/external/argh
+++ b/external/argh
@@ -1 +1 @@
-Subproject commit c429ee27134195b317e852324212bf39056bbff4
+Subproject commit c3f0d8c8a6dacb00df626b409248a34e3bcd15f5
diff --git a/external/jsx b/external/jsx
index e3fa52d..4c14284 160000
--- a/external/jsx
+++ b/external/jsx
@@ -1 +1 @@
-Subproject commit e3fa52d31b8b13f9a31df10867dd3b456842ca48
+Subproject commit 4c14284e1707c4cb8b4e61e75f6b1af4d9794673
diff --git a/external/sol2 b/external/sol2
index 9c882a2..c1f95a7 160000
--- a/external/sol2
+++ b/external/sol2
@@ -1 +1 @@
-Subproject commit 9c882a28fdb6f4ad79a53a4191b43ce48a661175
+Subproject commit c1f95a773c6f8f4fde8ca3efe872e7286afe4444
diff --git a/include/respawn/usb/client.h b/include/respawn/usb/client.h
index 5800973..783b387 100644
--- a/include/respawn/usb/client.h
+++ b/include/respawn/usb/client.h
@@ -10,6 +10,7 @@
 #include <sioku.h>
 
 #include <string>
+#include <vector>
 
 constexpr auto USB_VENDOR_ID_APPLE = 0x5ac;
 constexpr auto USB_PRODUCT_ID_DFU = 0x1227;
-- 
2.50.1 (Apple Git-155)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant