-
Notifications
You must be signed in to change notification settings - Fork 426
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
Compilation error using clang #6
Comments
Hi, -std=c++17 flag? |
Sorry, forgot to list that one, it's |
Hi @khoitd1997, I checked the compilation parameters, and the trip is really something goes wrong with them. |
Hi,
|
Got this error
|
Yeap, sorry I got some fail in fix) |
It works! How did you fix it? I tried to find a fix but things look right since they were already all |
It's seems bug in STL, error in static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); with - fsanitize=address -fsanitize=undefined, I think. |
I notes |
@khoitd1997 Could you please test new commit? It's a more good fix. |
Tested it, work well, thank you! |
@khoitd1997 Thanks for issues, I will add this fix for next release. |
After replacing the magic_enum.hpp I am getting following error error: cannot bind non-const lvalue reference of type std::array<std::basic_string_view, 0>& to an rvalue of type std::array<std::basic_string_view, 0> This error is on debian buster |
Could you please create a new issue? with a description and an example? |
Hi I recently switched my project from using
gcc
toclang
, and ran into this error:Clang version:
Gcc version:
Flag list:
Thank you for your work in this library, please let me know if I can provide more info.
The text was updated successfully, but these errors were encountered: