Core: tmpnam is unsafe/deprecated
Linker warning during Linux compilation:
/usr/bin/ld: ../../core/libnsxcore.a(Experiment.cpp.o): in function `nsx::Experiment::saveToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
Experiment.cpp:(.text+0x75dc): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
and similar during MacOS compilation.
No idea to what extent this is important, but if we want a warning-free compile, this will have to be handled. It also seems like tmpnam
is platform-dependent, and we may need another solution for Windows.