Bug#769894: doomsday: FTBFS on arm64, armel, armhf

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Mon Nov 17 11:25:37 UTC 2014


Source: doomsday
Version: 1.10.4-2

It failed to build on several ARM architectures:

http://buildd.debian.org/status/package.php?p=doomsday&suite=sid

In each case the error was:

src/con_main.cpp: In function 'void conPrintf(int, const char*, va_list)':
src/con_main.cpp:1842:31: error: invalid operands of types 'va_list
{aka __va_list}' and 'int' to binary 'operator!='
     if(format && format[0] && args)
                               ^

This "args" is a va_list argument to the function. On these
architectures va_list is not a pointer or an array so you can't test
for it being non-zero. The function is only called from two places,
with valid "args" in each case, so the test also seems to serve no
purpose. Therefore I'd suggest removing it (deleting " && args").



More information about the Pkg-games-devel mailing list