https://bugzilla.redhat.com/show_bug.cgi?id=2399600
Fedor Vorobev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(solomoncyj@gmail. | |com) --- Comment #15 from Fedor Vorobev <[email protected]> --- I was trying to test a code snippet from the upstream repository for sanity, and ran into the following issue when trying to compile a program using the produced package: === In file included from /usr/include/sol/optional.hpp:33, from /usr/include/sol/types.hpp:28, from /usr/include/sol/trampoline.hpp:27, from /usr/include/sol/stack.hpp:27, from /usr/include/sol/sol.hpp:52, from main.cpp:1: /usr/include/sol/optional_implementation.hpp: In member function ‘T& sol::optional<T&>::emplace(Args&& ...)’: /usr/include/sol/optional_implementation.hpp:2194:31: error: ‘class sol::optional<T&>’ has no member named ‘construct’ [-Wtemplate-body] 2194 | this->construct(std::forward<Args>(args)...); === for the following program: === #include <sol/sol.hpp> #include <cassert> int main() { sol::state lua; int x = 0; lua.set_function("beep", [&x]{ ++x; }); lua.script("beep()"); assert(x == 1); } === Found this issue that's related: https://github.com/ThePhD/sol2/issues/1617 Considering the 3.3.0 release is fairly old at this point, you might want to apply patches or use the tags instead of the release. (It appears there are tags for v3.5.0 in the repo.) -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2399600 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202399600%23c15 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
