Bug#594382: ii-esu: FTBFS - long has no effect in expression (true)

Iain Buclaw ibuclaw at ubuntu.com
Wed Aug 25 18:02:43 UTC 2010


Subject: ii-esu: FTBFS - long has no effect in expression (true)
Package: ii-esu
Version: 1.0a.dfsg1-2
Severity: important

Hi, your package currently fails to build from source when using the latest
GDC
compiler with the message:

gdmd -c -ofsrc/es/enemy.o -g -O -d -release -Iimport -Isrc src/es/enemy.d
src/es/enemy.d:617: Error: long has no effect in expression (true)
src/es/enemy.d:622: Error: long has no effect in expression (false)

The reason why this happens is because the 'void' function addEnemy returns
a
boolean value, which is illegal in the language. The fact that this wasn't
caught beforehand was a bug in the compiler that is now fixed.

To fix, either change the function addEnemy to be of a type 'bool', or omit
the
return values in the function (which are ignored anyway).

Thanks!



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100825/357889c9/attachment.htm>


More information about the Pkg-games-devel mailing list