sol2
sol2 copied to clipboard
compilation issue: no member named 'construct'
Hi, I'm seeing a new error in compilation:
In file included from D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/sol.hpp:53:
In file included from D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/stack.hpp:27:
In file included from D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/trampoline.hpp:27:
In file included from D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/types.hpp:28:
In file included from D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/optional.hpp:33:
D:/a/Light.vn-core/Light.vn-core/_deps/sol2/80081c33f3d3c0bc53deb21b682463e1ae98eef5/include\sol/optional_implementation.hpp:2191:10: error: no member named 'construct' in 'optional<type-parameter-0-0 &>'
2191 | this->construct(std::forward<Args>(args)...);
| ~~~~ ^
1 error generated.
compiler: CMAKE_C_COMPILER: D:/a/Light.vn-core/Light.vn-core/emsdk/upstream/emscripten/emcc.bat
-- The CXX compiler identification is Clang 19.0.0
-- The C compiler identification is Clang 19.0.0