Package: gtkpool
Version: 0.5.0-7
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.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of gtkpool_0.5.0-7 on em64t by sbuild/amd64 0.53
...
>       depmode=gcc3 /bin/sh ../depcomp \
>       g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -Wall -O2 
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o 
> game.o `test -f 'game.cpp' || echo './'`game.cpp
> game.cpp: In constructor 'Game::Game()':
> game.cpp:31: error: 'strcpy' was not declared in this scope
> game.cpp: In member function 'bool Game::switch_turns(int)':
> game.cpp:66: error: 'strcpy' was not declared in this scope
> game.cpp:71: error: 'strcpy' was not declared in this scope
> game.cpp:80: error: 'strcpy' was not declared in this scope
> game.cpp:82: error: 'strcpy' was not declared in this scope
> game.cpp:87: error: 'strcpy' was not declared in this scope
> game.cpp: In member function 'void Game::eight_ball_rules(check_pocket&, 
> Ball*)':
> game.cpp:159: error: 'strcpy' was not declared in this scope
> game.cpp:171: error: 'strcpy' was not declared in this scope
> game.cpp:187: error: 'strcpy' was not declared in this scope
> game.cpp:199: error: 'strcpy' was not declared in this scope
> game.cpp: In member function 'void Game::nine_ball_rules(check_pocket&, 
> Ball*)':
> game.cpp:216: error: 'strcpy' was not declared in this scope
> game.cpp: In member function 'void Game::rotation_rules(check_pocket&, 
> Ball*)':
> game.cpp:241: error: 'strcpy' was not declared in this scope
> game.cpp:254: error: 'strcpy' was not declared in this scope
> make[4]: *** [game.o] Error 1
> make[4]: Leaving directory `/build/tbm/gtkpool-0.5.0/gtkpool'

-- 
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