Bug#455114: FTBFS with GCC 4.3: missing #includes

Jens Seidel jensseidel at users.sf.net
Sun Dec 9 10:56:17 UTC 2007


On Sat, Dec 08, 2007 at 11:12:29PM -0700, Martin Michlmayr wrote:
> Package: vodovod
> Version: 1.10-1
> Usertags: ftbfs-gcc-4.3
> 
> Your package fails to build with GCC 4.3.  Version 4.3 has not been
> 
> > Automatic build of vodovod_1.10-1 on em64t by sbuild/amd64 0.53
> ...
> > g++ -c `sdl-config --cflags` -DDATADIR=\"/usr/share/games/vodovod\" hiscore.cpp -o hiscore.o
> > hiscore.cpp: In destructor 'HiScores::~HiScores()':
> > hiscore.cpp:107: error: 'PATH_MAX' was not declared in this scope

Using PATH_MAX will probably also not work on the Hurd which tries to
avois all useless limits. So I suggest not to use PATH_MAX or to add
something similar to

#ifndef PATH_MAX
#define PATH_MAX 2000
#endif

Jens





More information about the Pkg-games-devel mailing list