-
Notifications
You must be signed in to change notification settings - Fork 400
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
Undefined reference to value::as<long long>() #5
Comments
I think you're right. I'm going to see if this fix works on all three platforms. I'll commit it to master later today if everything looks okay. |
I believe this has been fixed since I added overloads for all integer types both signed and unsigned today. Could you try this program again with the most recent commit? If it's still not working, an excerpt of the code that causes this error would help me narrow down the problem. |
Just confirming that this is now working perfectly too. Many thanks! |
When I try to compile the library it works fine, but when I try to compile a program that uses the library, I get this error:
I copied the implementation of
value::as<int64_t>()
invalue.cpp
and changedint64_t
tolong long
and it fixed the problem. It looks like the cause might be inwriter.cpp
line 428, wherevalue::as<long long>()
gets called.I guess one of these needs
long long
changed toint64_t
or vice versa?The text was updated successfully, but these errors were encountered: