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
Compiler warnings about the visibility attribute from mingw #352
Comments
Thanks. We're going to adapt it in few steps: first resolve the compiler warnings and later, when we are ready for windows, grab __declspec part. |
Should be fixed. |
Looks like it's still an issue: https://travis-ci.org/quixdb/squash/jobs/136512277 That's with 09543b5 (you can verify that at https://travis-ci.org/quixdb/squash/jobs/136512277#L198). On a somewhat related note (an easy way to switch compilers), if you are interested I'd be willing to put together a CMake-based build system for you; it could be useful for Squash, too, since we could share the build system… |
Ooops, thought it was about unused function... |
Should be fixed. Déjà vu? |
Thanks, it works :) |
When attempting to cross-compile with mingw, I see a lot of "error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]" messages (normally they're just warnings, but I use -Werror for CI builds). See https://travis-ci.org/quixdb/squash/jobs/132697469#L1320 for an example. I can reproduce on Fedora with Squash with something like
ming64-cmake . && make -j
.If you want, you can adapt https://github.com/quixdb/squash/blob/26aa037b618c1a37d984099b8dd5a3e04d3058c3/squash/squash.h#L115
The text was updated successfully, but these errors were encountered: