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
Fix compilation with clang #4228
Conversation
At least, clang 3.4, on Arch Linux
Out of curiosity, does using libc++/libstdc++ make a difference? |
(Without my patch) |
This breaks compilation on ubuntu precise with gcc:
|
I can't reproduce this |
Also, M_PI was dropped in C99 - i'm reasonably certain i haven't changed the standards of the C files That said, i did have trouble with isfinite, so i've amended (locally) a -std setting for moodbar |
At least, clang 3.4, on Arch Linux
Bump? |
To build 3rdparty/chromaprint you actually need to not have libchromaprint installed - it's only compiled if the system library isn't found. FWIW, I get the same error:
|
My 20 cents: https://bugs.gentoo.org/attachment.cgi?id=433122&action=diff |
At least, clang 3.4, on Arch Linux
Otherwise it errors with __float128 errors, and there's also a "register keyword is deprecated" error fix in there too
"Fixes" #4227