File octave-no-return-in-nonvoid.patch of Package octave
Index: octave-3.4.0/src/mex.cc =================================================================== --- octave-3.4.0.orig/src/mex.cc +++ octave-3.4.0/src/mex.cc @@ -333,6 +333,8 @@ public: if (! retval) retval = new mxArray_octave_value (*this); + + return retval; } ~mxArray_octave_value (void)