ThePhD / sol2

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
http://sol2.rtfd.io/
MIT License
4.18k stars 515 forks source link

Clang 18 support #1614

Closed diath closed 3 months ago

diath commented 3 months ago

It seems like Sol no longer works on the newest Clang release:

sol/function_types.hpp:110:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)'
  110 |                                 lua_CFunction freefunc = &function_detail::upvalue_this_member_variable<C, Fx>::template call<is_yielding, no_trampoline>;
diath commented 3 months ago

Nevermind, I didn't search the issues, this is a duplicate:

1581

1560

1588