-
-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Trying to create a new user type #1560
Comments
Hey, sol::state lua then I am trying to add these user types. The strange thing is it compiles on another machine, but it doesn't compile on my machine. We know we have the exact same code because I am on the exact same branch as him. We were wondering what could be the cause of this issue. |
Looks like the same issue as this #1565 |
I have the same exact issue when compiling my game engine with clang-18, everything worked fine with clang-17. I'm using Lua 5.4 (latest) and the latest version of Sol2 (develop branch). |
Is Clang 18 released yet? Looks to me like 17 is latest here, which would indicate that 18 is still under development. If clang 18 is in development, then it only makes sense that there could be issues in its unreleased versions.
You can try this workaround from the ticket I linked above to see if it helps you #1565 (comment)
A proper fix might need to be done in Clang itself. If I am right on what is causing this issue (the noexcept on the call function) then to me it seems like a compiler issue, not library issue. |
Thanks, got it. |
The text was updated successfully, but these errors were encountered: