badness in python 2?

D-Man dsh8290 at rit.edu
Wed Nov 15 14:22:34 EST 2000


Hi.  

Is this a problem with python or gcc 2.96?

/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tmpnam':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:4106: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tempnam':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:4062: the use of `tempnam' is dangerous, better use `mkstemp'


These errors won't let a particular app that embeds python compile.

Thanks,
-D

PS.  Courageous: I added -lutil to the compile command to solve those undefined reference errors I had before





More information about the Python-list mailing list