Open ocramz opened 4 years ago
Indeed, I've just tried building on a newer machine (with a later XCode etc. ) and the error doesn't happen:
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I'd be keen to know a fix that applies to older XCode versions, because I won't be able to use the new one for a while.
Building a project that includes
unliftio
(Stackage LTS 14.27 i.e. GHC 8.6.5) fails with this:If it helps,