[CM] Warnings while using S7 repl in Ubuntu 14.04

Joe Python jopython at gmail.com
Sun May 8 14:27:56 PDT 2016


s7.c was compiled with gcc 4.8.4

$ ./repl
writing libc_s7.c
libc_s7.o: In function `s7_dl_tmpnam':
libc_s7.c:(.text+0x4787): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
libc_s7.o: In function `s7_dl_tempnam':
libc_s7.c:(.text+0x489e): warning: the use of `tempnam' is dangerous,
better use `mkstemp'
libc_s7.o: In function `s7_dl_mktemp':
libc_s7.c:(.text+0x78fa): warning: the use of `mktemp' is dangerous, better
use `mkstemp' or `mkdtemp'
loading libc_s7.so
<1> (exit)

All references to tmpnam, tempnam and mktemp are in libc.scm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20160508/81101f9e/attachment.html>


More information about the Cmdist mailing list