-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
ObjectResponse Linking Error #238
Comments
What's the error message? Also this library is made for C++ 11. Sounds like a C++ standard mismatch between the library and your bot. I have no idea because I don't know what the error is. Also what do you mean by proper error? |
I get this error with
|
Yeah, your library was compiled for C++ 17 and up. Which allows for the user of std::string_view, which isn't available in C++11. I think the error message is fairly clear. I can't really replace those errors, nor am I sure of a way to detect it. There might be a way to prevent the issue, maybe, but I currently don't know of a solution as of right now. |
Error
ObjectResponse (and many more probably) gives a linking error if the c++ standard is not higher than 17
It will be more convenient if it gives a proper error instead of giving a linking error. Because it took me a whole day to realize the problem.
The text was updated successfully, but these errors were encountered: