-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Use preinstalled version of MinGW on AppVeyor #132
Comments
Some of the issues with MinGW on AppVeyor:
|
More errors:
|
Item 2 fixed in 341b98c. |
And one more:
|
|
What a mess:
|
The last issue looks like a bug in MinGW: http://ehc.ac/p/mingw/bugs/2250/ |
|
mingw.org is obsolete and I'm not sure it's worth the hassle of dealing with it, really. Here's an example of how to run with mingw-w64 which should be much less painful to work with: tkelman/libgit2@4c88fd7 |
Thanks, @tkelman. I'm doing this not because it is easy but because it is hard =). I was using mingw-w64 before, but I think C++ Format should work on legacy platforms such as the default MinGW installation. Besides it's a good portability test and the fixes I made so far are useful in general and not specific to this version of MinGW (with one exception). |
Aren't you trying to use latest C++11 and other features? That sounds needlessly challenging on a barely-maintained toolchain, but go for it if it's worth the trouble. |
Yes, I'm using C++11 features if available, but support legacy (C++98/03) compilers because they are still widespread. |
Workaround |
A few more errors:
|
Fixed MinGW build in 40681e6, but there are test failures:
|
And gazillion of warnings of the form
|
|
Fixed |
|
Most issues have been solved, but Appveyor uses even more broken version of MinGW:
|
As of 640445f all compile errors are fixed even on broken versions on MinGW. Only remains to fix warnings. |
In a long term it would be better to ditch AppVeyor altogether because it's painfully slow even without installing MinGW.
The text was updated successfully, but these errors were encountered: