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.16k stars 504 forks source link

Upgraded from 3.2.3 to 3.3.0 and now getting a compile error #1382

Open maxdemarzi opened 2 years ago

maxdemarzi commented 2 years ago

Ubuntu, gcc11, using luajit. Getting error after upgrading... I don't quite understand what the error is even telling me. Breaks on import no code even runs:

include/sol/object_base.hpp:71:118: error: ‘sol::basic_reference<false>’ is an inaccessible base of ‘sol::as_table_t<sol::basic_table_core<false, sol::basic_reference<false> > >’
   71 |                 basic_object_base(T&& arg, Args&&... args) : base_t(std::forward<T>(arg), std::forward<Args>(args)...) {
      |                                                                                                                      ^