Fwd: Fwd: Python freeze fails with warning: the use of `tempnam' is dangerous, better use `mkstemp'
Alexander N. Moibenko
moibenko at fnal.gov
Wed Sep 7 10:17:00 EDT 2016
Hello,
when I build a binary with python 2.6 it builds without any problem.
When I build with python 2.7 the build fails after warnings like:
/opt/python/Python-2.7.12/Modules/posixmodule.o: In function
`posix_tempnam':
/opt/python/Python-2.7.12/./Modules/posixmodule.c:7578: warning: the use
of `tempnam' is dangerous, better use `mkstemp'
collect2: ld returned 1 exit status
How this can be fixed?
Thanks,
Alexander
More information about the Python-list
mailing list