From 99a5cf5e04e67f37a58620343079b6c6a97e4eb3 Mon Sep 17 00:00:00 2001 From: jchv Date: Wed, 23 Apr 2025 22:43:51 -0400 Subject: [PATCH] Fix build on Clang In Clang/libc++ including `` is not enough to get the implementation of `ostringstream`. We need to include `` as well. Also, the inclusion of libstdc++fs should no longer be necessary, and doesn't work on Clang either. --- CMakeLists.txt | 1 - ISArchiveV3.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1731151..032700c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,5 +21,4 @@ add_executable (unshieldv3 ISArchiveV3.cpp blast.c ) -target_link_libraries(unshieldv3 stdc++fs) install(TARGETS unshieldv3) diff --git a/ISArchiveV3.cpp b/ISArchiveV3.cpp index eb22871..a0d1398 100644 --- a/ISArchiveV3.cpp +++ b/ISArchiveV3.cpp @@ -18,6 +18,7 @@ limitations under the License. #include #include #include +#include #include extern "C" { #include "blast.h"