New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to compile with clang #1270
Comments
Hi @yurivict, I think you have an old clang version. Here I'm using Xcode 8.0, Mac OS X SDK 10.12 and my
Before this I was compiling Aseprite with the clang version in Xcode 7.0 and SDK 10.11, that one should work too. |
It fails for me with clang38-3.8_1:
which is the latest version according to clang's wiki page. |
Oh you are on FreeBSD, it might be related to the libc++ version, but I'm not sure. Are you using libstdc++ or libc++? |
I get the same error with both: -std=gnu++11 and -std=c++14. |
Next week I'll take a look to this issue running a FreeBSD VM. |
Thanks! The easiest way is to first install all dependencies with the package:
Then build the port (cd /usr/ports/graphics/aseprite), after updating versions to:
and build:
|
This is a regression in 1.1.9. I don't think you need to install FreeBSD for this, you can probably see this on linux if you switch to clang. |
Any chance to have this fixed? I can't update the port. You can probably reproduce this with clang-3.8.0 linux too. |
I'll take a look at this issue today. |
Hi @yurivict, I was just able to compile the master branch from Aseprite on FreeBSD 11.0 with clang 3.8, I've used the steps from INSTALL.md: I recommend you to clone the master branch, and follow the steps on INSTALL.md to compile Aseprite (don't use ports or nothing extra). And you can install dependencies using |
Thanks for looking into this. This turned out to be a bug in FreeBSD 10 clang compiler that fails to compile this. I will work with them to fix it. Thanks! |
WIth version 1.1.9, getting this error with clang-36 and clang-38:
The failing command:
The text was updated successfully, but these errors were encountered: