<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40286 >

2008/6/16 Madeline Book:
>
> A minor issue, but today when compiling S2_2 I got this
> warning when linking:
>
> ../dependencies/lua-5.1/src/liblua.a(loslib.o): In function
> `os_tmpname':
> /home/book/src/freeciv/freeciv/git-svn/dependencies/lua-5.1/src/
> loslib.c:60: warning: the use of `tmpnam' is dangerous, better use
> `mkstemp'
>
> Looking into the lua-5.1 sources it would appear that
> the use of mkstemp is controlled by successive macros
> LUA_USE_MKSTEMP set by LUA_USE_POSIX set by LUA_USE_LINUX
> in luaconf.h.

 Note that included lua is not latest version. It should be updated
and patched with lua.org bugfixes.


 - ML



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to