Cron <luatex@server> /home/luatex/luatex-svn
U luatex/build.sh.cross U luatex/src/texk/web2c/luatexdir/utils.c U luatex/src/texk/web2c/luatexdir/lua/luainit.c U luatex/src/texk/web2c/luatexdir/lua/luastuff.c U luatex/src/texk/web2c/lib/texmfmp.c Checked out revision 257.
Checked out revision 257.
Taco, this revision currently does not compile (at least on my MacBook running Mac OS 10.4.6). I assume you're aware of it, but I wanted to make sure to report it. It fails at: gcc -DHAVE_CONFIG_H -I. -I../../../../src/texk/web2c/luatexdir -I.. -I../../../../src/texk/web2c/luatexdir/../.. -I.. -I../../../../src/texk/web2c/luatexdir/.. -I../.. -I../../../../src/texk/web2c/luatexdir/../.. -I../../../libs/md5 -I../../../../src/texk/web2c/luatexdir/../../../libs/md5 -I../../../libs/libpng -I../../../../src/texk/web2c/luatexdir/../../../libs/libpng -I../../../libs/zlib -I../../../../src/texk/web2c/luatexdir/../../../libs/zlib -I../../../libs/xpdf -I../../../libs/xpdf/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf/.. -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat/.. -DpdfTeX -g -O2 -c ../../../../src/texk/web2c/luatexdir/lua/luastuff.c -o lua/luastuff.o ../../../../src/texk/web2c/luatexdir/lua/luastuff.c: In function ‘os_setenv’: ../../../../src/texk/web2c/luatexdir/lua/luastuff.c:209: error: void value not ignored as it ought to be make[1]: *** [lua/luastuff.o] Error 1 make: *** [luatexdir/libpdf.a] Error 2 Phew, that was some line! Ever noticed how gcc puts nice quote signs when it's in a UTF-8 environment? Look around ‘os_setenv’... Arthur
I assume you're aware of it, but I wanted to make sure to report it.
OK, apparently it's really a portability issue: unsetenv returns void,
not int, on Darwin (and, I expect, on other BSD-ish systems). See the
following extract from the man page:
NAME
getenv, putenv, setenv, unsetenv -- environment variable functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include
Arthur Reutenauer wrote:
Checked out revision 257.
Taco, this revision currently does not compile (at least on my MacBook running Mac OS 10.4.6). I assume you're aware of it, but I wanted to make sure to report it. It fails at:
gcc -DHAVE_CONFIG_H -I. -I../../../../src/texk/web2c/luatexdir -I.. -I../../../../src/texk/web2c/luatexdir/../.. -I.. -I../../../../src/texk/web2c/luatexdir/.. -I../.. -I../../../../src/texk/web2c/luatexdir/../.. -I../../../libs/md5 -I../../../../src/texk/web2c/luatexdir/../../../libs/md5 -I../../../libs/libpng -I../../../../src/texk/web2c/luatexdir/../../../libs/libpng -I../../../libs/zlib -I../../../../src/texk/web2c/luatexdir/../../../libs/zlib -I../../../libs/xpdf -I../../../libs/xpdf/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf/.. -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat/..
It is too bad compilers don't support -I*/* syntax
-DpdfTeX -g -O2 -c ../../../../src/texk/web2c/luatexdir/lua/luastuff.c -o lua/luastuff.o ../../../../src/texk/web2c/luatexdir/lua/luastuff.c: In function ‘os_setenv’: ../../../../src/texk/web2c/luatexdir/lua/luastuff.c:209:
error: void value not ignored as it ought to be
Thank you, I've corrected the source by forcing a void return value for unsetenv(). Taco
participants (3)
-
Arthur Reutenauer
-
root@aanhet.net
-
Taco Hoekwater