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
Support Fruit on Windows #9
Comments
Hi, I now tried compiling Fruit under VS 2015 Update 1 but their C++11 implementation is still buggy (it has improved a lot since VS 2013 though). Currently those prevent Fruit from compiling under MSVC. |
I see, thanks. |
Hi there, with the new VS 2015 Update 2 these two bugs should be fixed! |
Unfortunately not, both of the bugs above are still reproducible (i.e., not fixed) with VS 2015 Update 2. |
Testing with Visual Studio 2015 Update 3 and I'm not seeing those bugs but it fails nonetheless in https://github.com/google/fruit/blob/master/include/fruit/impl/meta/eval.h#L103 with:
|
It seems that Visual Studio doesn't think the expression is constant even if it's defined with constexpr. |
Have there been any successful builds of fruit on Windows using mingw? |
I've tried to use mingw 5.3 to build it, but failed. |
Great, this is helpful, I will try. |
Status update: I've finally managed to get Fruit to compile and pass all tests with the MSVC compiler (by working around several compiler bugs), inspired by @fran6co's PR. |
Hey, that's great! Thanks! Also, I think our avatars are cousins or something... |
С праздником
Пользователь poletti-marco <notifications@github.com> писал:
…@***@***.******@***.***'sopenPR).Youarereceivingthisbecauseyouaresubscribedtothisthread.Replytothisemaildirectly,viewitonGitHub,ormutethethread.
|
This has finally landed in master. These compilers are now supported on Windows:
With the following limitations:
I've also set up CI for both of those, using AppVeyor. |
This limitation has now been lifted (i.e. building Fruit as a dll with MSVC is now supported). It was much easier than expected, I didn't need to fix issue #30 to get there. |
Good time of day,
I have noticed that at the moment Windows is not supported by the library. Do you think Visual Studio 2015 has mature enough C++11 support to compile fruit? I would like to give fruit a go, but I must support Mac, Linux and Windows. If VS2015 is good enough, you shouldn't have too much trouble compiling for it, since you already use cmake.
The text was updated successfully, but these errors were encountered: