Closed ryandesign closed 1 year ago
Hi, I managed to successfully build version 0.2.6 with clang 14.0.6 after making the following change to source/common/Scoped.h file:
--- source/common/Scoped.h
+++ source/common/Scoped.h
@@ -33,7 +33,7 @@
return apply(f, t, std::make_index_sequence<size> {});
}
}
-template<typename>
+template<typename...>
struct Scoped;
template<typename... Args>
struct Scoped<void (*)(Args...)> {
If compilation with this fix applied still fails for you, then I will need full error and compiler version.
Thanks, that lets me get past that error.
I can't compile gpick 0.3 at the moment due to its lua-c++ requirement so I'm trying to compile gpick 0.2.6 which fails on macOS with:
I didn't see any other ticket reporting this error. The only hit on Google for this error was this summary of Debian builds that failed with clang but no solution mentioned there.