but I have a warning: /usr/local/lib/libmatio.a(mat.o): In function `Mat_VarDelete':
/d/cpp/matio/matio-1.3.4/src/mat.c:552: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
and I have no executable file. Why? What I do wrong?
Best regards,
Rafał
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've downloaded matio-1.3.4 and I try to compile and run a few examples from http://na-wiki.csc.kth.se/mediawiki/index.php/MatIO.
I comile by:
g++ 01.cpp -lmatio -lz
but I have a warning:
/usr/local/lib/libmatio.a(mat.o): In function `Mat_VarDelete':
/d/cpp/matio/matio-1.3.4/src/mat.c:552: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
and I have no executable file. Why? What I do wrong?
Best regards,
Rafał
That warning will not stop the creation of an executable. Perhaps you can share the whole compiler output?
Ok, it works.
I did something wrong