Joel Andersson
Joel Andersson
I see, that's good.
If I run partialcheck I only get one test failing in an ugly way: ``` MacBook-Pro:matlab jaeandersson$ make -s template_specialization_defarg.cpptest checking matlab testcase template_specialization_defarg *** Internal error. Inconsistent clientdata for...
On vacation now, will have a look at this when I get home.
I don't have MSVC2010 here, but googling a bit suggests the following fix that I committed to a separate branch 726bac79575356358623a7532faca2cf1ce0a0e5. You need need to pull branch `issue_35` from me....
> BTW, is there a reason that the default output file format is cpp format? Thanks! Is it? If so, it's probably a leftover from Octave (the MATLAB is based...
I'm not sure if I understand. Did you try enabling the c++ mode? ``` swig -c++ -matlab example.i ``` Also try to change the ending to C, since the code...
I'm a bit lost here. So, either you compile the wrapper with a C compiler (it should be valid C code) and then `extern "C"` is of course not needed....
My guess is that because of the `.cpp` suffix, MSVC went into C++ mode, but since you hadn't specified `extern "C"` linkage, you get a linking error. If you change...
Yes, you're probably right about the C++ guards. Feel free to make a pull request if you find a solution.
Just to be clear: I don't plan to work on this at the moment (as I don't need it for my project). Would be great if someone else could take...