From 211f6156a78e9ac784938ef752eae4e61daaea02 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 2 Dec 2020 19:08:11 +0100 Subject: [PATCH] Get rid of the string conversion patch This solved some compiler errors early on but it ended up not being needed, and as it turns out this change actually breaks things because the SDK uses a ton of reinterpret casts to convert between string types internally. --- tools/patch-vst3-sdk.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/patch-vst3-sdk.sh b/tools/patch-vst3-sdk.sh index d968b3fe..8caa7c99 100755 --- a/tools/patch-vst3-sdk.sh +++ b/tools/patch-vst3-sdk.sh @@ -63,15 +63,6 @@ replace_char16 "using Converter = std::wstring_convert` header instead of the experimental one -# TODO: Check if now works with Winelib, or replace with Boost -# sed -i 's/^#if _HAS_CXX17 && defined(_MSC_VER)$/#if 1/' "$sdk_directory/public.sdk/source/vst/hosting/module_win32.cpp" - # Don't try adding `std::u8string` to an `std::vector`. MSVC # probably coerces them, but GCC doesn't sed -i 's/\bgeneric_u8string\b/generic_string/g' "$sdk_directory/public.sdk/source/vst/hosting/module_win32.cpp"