Closed rpavlik closed 11 years ago
error: call to implicitly-deleted copy constructor of
boost::shared_ptr<<anonymous>::X>
note: copy constructor is implicitly deleted becauseshared_ptr<<anonymous>::X>
has a user-declared move constructor
Looks like an incompatible standard library. I think this has nothing to do with Luabind. I'm quite sure you can confirm this by trying to compile a minimal example with std::shared_ptr
where you use the copy constructor or copy assignment.
error: no matching member function for call to
apply
note: candidate template ignored: substitution failure [with T =boost::shared_ptr<<anonymous>::X>
]
I hope this has the same cause.
warning: dynamic exception specifications are deprecated [-Wdeprecated]
Okay, I should be able to conditionally use noexpect
instead.
warning: definition of implicit copy constructor for
object_interface<luabind::adl::object>
is deprecated because it has a user-declared destructor [-Wdeprecated]
Removing the empty destructor of object_interface<Derived>
should be enough to silence this.
EDIT:
operator_id.hpp:53:28: warning: no previous extern declaration for non-static variable 'a' [-Wmissing-variable-declarations]
That variable is both static and local. Looks actually like a clang bug to me. If something like
inline void foo() { static int bar = 42; }
int main() { }
with the Wmissing-variable-declarations
warning enabled causes the warning I would file a bug for Clang.
(same for the warning a few lines below)
From my merged branch, looks like a weird boost::shared_ptr issue: