-
Notifications
You must be signed in to change notification settings - Fork 193
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
cannot compile on Windows #24
base: master
Are you sure you want to change the base?
Conversation
For now, my fix was to cast the offending
This creates a compiler warning, and I don't know if it is functioning correctly, but it seems usable. I do not think n will ever be bigger than an |
Does #17 fix it for you? |
Sorry, I should have been more specific about what I was doing. The error I reported was for version 0.58. I checked out master, though, and it still gave me an error, though a different one. I applied #17 and the problem persists with both VC 12.0 and 14.0. Here's the output:
|
Everything compiles just fine when I change The command I'm running is |
Please note that I have not checked the source changes on other platforms, but the extra Makefiles should be useful to other Windows users. |
Right, for the |
Ah. So what was the patch in #17 for? Or has that been fixed since? |
It fixes the build with |
Thanks for your help. I don't know if the repo will ever be updated, but hopefully this will help the next person. To compile easily with MSVC you need #15 and a few more makefiles. I added the needed makefile for the Java dll, but I didn't do it for the other bindings; it shouldn't be too hard to make the other ones with this as an example, though. |
Using VC++ 14.0, I cannot compile from source. The problem is an ambiguity caused by the
<<
operator incommon.h
in thestring_buffer
class. Here's the error output: