Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No default constuctor #56

Open
jaeandersson opened this issue Sep 12, 2015 · 2 comments
Open

No default constuctor #56

jaeandersson opened this issue Sep 12, 2015 · 2 comments

Comments

@jaeandersson
Copy link
Owner

It looks like SWIG-MATLAB tries to wrap a default constructor that doesn't exist:

checking matlab testcase array_typedef_memberin
Building with 'Xcode Clang++'.
/Users/jaeandersson/dev/swig/build/Examples/test-suite/matlab/array_typedef_memberin_wrap.cxx:1612:47: error: call to implicitly-deleted default constructor of 'ArrayExample::ExampleDetail'
  result = (ArrayExample::ExampleDetail *)new ArrayExample::ExampleDetail();
                                              ^
/Users/jaeandersson/dev/swig/build/Examples/test-suite/matlab/array_typedef_memberin_wrap.cxx:1175:21: note: default constructor of 'ExampleDetail' is implicitly deleted because field 'node_list2' of const-qualified type 'const Eight' (aka 'short const[8]') would not be initialized
        const Eight node_list2;
                    ^
1 error generated.

make[2]: *** [matlab_cpp] Error 255
make[1]: *** [array_typedef_memberin.cpptest] Error 2
@jaeandersson
Copy link
Owner Author

@wsfulton Rings a bell?

@wsfulton
Copy link
Collaborator

sorry no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants