Package: bsdgames
Version: 2.17-10
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 now prints an error
message when C++ code contains duplicate function parameter names in
function prototypes, see
http://www.cyrius.com/journal/2007/12/07#gcc-4.3-multiple-params

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of bsdgames_2.17-10 on em64t by sbuild/amd64 0.53
...
> g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings  
>   -Iinclude   -Idab  -c dab/board.cc -o dab/board.o
> In file included from dab/board.cc:49:
> dab/gamescreen.h:73: error: multiple parameters named 'p'
> dab/gamescreen.h:74: error: multiple parameters named 'p'
> dab/gamescreen.h:75: error: multiple parameters named 'p'
> dab/board.cc: In member function 'int BOARD::full() const':
> dab/board.cc:157: warning: cast from type 'const BOARD*' to type 'BOARD*' 
> casts away constness
> dab/board.cc: In member function 'void BOARD::paint() const':
> dab/board.cc:176: warning: cast from type 'const BOARD*' to type 'BOARD*' 
> casts away constness
> make[1]: *** [dab/board.o] Error 1
> make[1]: Leaving directory `/build/tbm/bsdgames-2.17'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to