Bug#410178: FTBFS with GCC 4.2: the address of 'qdir' will always evaluate as 'true'

Martin Michlmayr tbm at cyrius.com
Thu Feb 8 12:41:31 CET 2007


Package: openarena
Version: 0.6.0-2

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  Your package fails to build
because of a new warning in GCC 4.2.

> Automatic build of openarena_0.6.0-2 on coconut0 by sbuild/ia64 0.49
................
> make[2]: Entering directory `/build/tbm/openarena-0.6.0/code/tools/asm'
> gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
> cc1: warnings being treated as errors
> cmdlib.c: In function 'ExpandPath':
> cmdlib.c:315: warning: the address of 'qdir' will always evaluate as 'true'
> cmdlib.c: In function 'ExpandGamePath':
> cmdlib.c:328: warning: the address of 'qdir' will always evaluate as 'true'
> make[2]: *** [q3asm] Error 1
> make[2]: Leaving directory `/build/tbm/openarena-0.6.0/code/tools/asm'
> make[1]: *** [tools] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Pkg-games-devel mailing list