You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The build should succeed (the generated code should not try to act as if the type could be instantiated)
Additional context
Autocxx generates cxx glue code that causes errors like: invalid new-expression of abstract class type ‘B’.
I'm experiencing this Issue, because I would like to access a static method inside the abstract class like so:
structA
{
virtualintf() = 0;
};
structB : virtual public A {
staticvoidi_want_this_function();
};
The text was updated successfully, but these errors were encountered:
i.e. bindgen is not telling us that B inherits from A, so therefore we make poor life choices around what to do with B.
It may be that this was because we make an invalid assumption about what output to expect from bindgen, I'll look into it in due course. Thanks again for the test case.
Describe the bug
I get a build error in the autocxxgen_ffi.h code when including an abstract subclass.
To Reproduce
See #1325
Expected behavior
The build should succeed (the generated code should not try to act as if the type could be instantiated)
Additional context
Autocxx generates cxx glue code that causes errors like:
invalid new-expression of abstract class type ‘B’
.I'm experiencing this Issue, because I would like to access a static method inside the abstract class like so:
The text was updated successfully, but these errors were encountered: