Package: gambit
Version: 0.2006.01.20-1.1
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. The bug below is most likely in
your package and not because I'm using a snapshot of the compiler so
please take a look at it. You can reproduce this with the
gcc-snapshot package.
I don't know why the first error doesn't show up with gcc 4.1 but the
2nd one is a new one in 4.2:
> Automatic build of gambit_0.2006.01.20-1.1 on test.track.rz.uni-augsburg.de
> by sbuild/powerpc 0.44
...
> if powerpc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"gambit\" -DVERSION=\"0.2006.01.20\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BCMP=1 -DHAVE_SRAND48=1
> -DHAVE_DRAND48=1 -I. -I. -I../../../sources -g -O2 -MT nfghs.o -MD -MP
> -MF ".deps/nfghs.Tpo" -c -o nfghs.o nfghs.cc; \
> then mv -f ".deps/nfghs.Tpo" ".deps/nfghs.Po"; else rm -f
> ".deps/nfghs.Tpo"; exit 1; fi
> nfghs.h:60: error: extra qualification 'gbtNfgHs::' on member 'SolveSizeDiff'
> make[4]: *** [nfghs.o] Error 1
> make[4]: Leaving directory
> `/build/tbm/gambit-0.2006.01.20/sources/tools/enumpoly'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/tbm/gambit-0.2006.01.20/sources/tools'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/tbm/gambit-0.2006.01.20/sources'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/tbm/gambit-0.2006.01.20'
and then:
/usr/lib/gcc-snapshot/bin/g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"gambit\" -DVERSION=\"0.2006.01.20\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BCMP=1 -DHAVE_SRAND48=1
-DHAVE_DRAND48=1 -I. -I. -I../include
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DwxPLOT_FAST_GRAPHICS=0 -g -O2 -MT
fparser.lo -MD -MP -MF .deps/fparser.Tpo -c fparser.cpp -o fparser.o
fparser.cpp: In member function 'void<unnamed>::CodeTree::OptimizeLogarithm()':
fparser.cpp:2389: error: conversion from 'int' to non-scalar type
'std::_List_iterator<<unnamed>::SubTree>' requested
fparser.cpp:2390: error: conversion from 'int' to non-scalar type
'std::_List_iterator<<unnamed>::SubTree>' requested
make[3]: *** [fparser.lo] Error 1
make[3]: Leaving directory
`/home/tbm/src/gambit-0.2006.01.20/sources/labenski/src'
A patch for the first error only:
--- ./sources/tools/enumpoly/nfghs.h~ 2006-05-31 17:15:51.000000000 +0000
+++ ./sources/tools/enumpoly/nfghs.h 2006-05-31 17:16:20.000000000 +0000
@@ -56,7 +56,7 @@
void Initialize(Game game);
void Cleanup(Game game);
- void gbtNfgHs::SolveSizeDiff(Game game, Gambit::List < MixedStrategyProfile
< double > > & solutions,
+ void SolveSizeDiff(Game game, Gambit::List < MixedStrategyProfile < double >
> & solutions,
int size, int diff);
bool SolveSupportSizeProfile(Game game, Gambit::List < MixedStrategyProfile
< double > > & solutions,
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]