Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7953d741 authored by hhakim's avatar hhakim
Browse files

Fix windows compiling issue #191 (mexPoly.cpp.in).

parent 6deaf83e
No related branches found
No related tags found
No related merge requests found
Pipeline #833992 skipped
......@@ -185,10 +185,11 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
else
{
const char* msg_end = " is an unknown command";
char msg[256+strlen(msg_end)];
char *msg = new char[256+strlen(msg_end)];
strncat(msg, func, strlen(func));
strncat(msg+strlen(func), msg_end, strlen(msg_end));
mexErrMsgTxt(msg);
delete []msg;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment