Package: gambit Verison: 0.2006.01.20-2 Usertags: ftbfs-gcc-4.3 Tags: patch
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). Some background of this can be found at http://gcc.gnu.org/PR28080 You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of gambit_0.2006.01.20-2 on em64t by sbuild/amd64 0.53 ... > then mv -f ".deps/nfg2html.Tpo" ".deps/nfg2html.Po"; else rm -f > ".deps/nfg2html.Tpo"; exit 1; fi > nfg2html.cc: In function 'void PrintHelp(char*)': > nfg2html.cc:119: error: 'exit' was not declared in this scope > nfg2html.cc: In function 'int main(int, char**)': > nfg2html.cc:133: error: 'atoi' was not declared in this scope > nfg2html.cc:153: error: 'abort' was not declared in this scope > make[4]: *** [nfg2html.o] Error 1 > make[4]: Leaving directory > `/build/tbm/gambit-0.2006.01.20/sources/tools/convert' --- sources/tools/convert/nfg2html.cc~ 2007-04-01 19:18:45.000000000 +0000 +++ sources/tools/convert/nfg2html.cc 2007-04-01 19:18:50.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <unistd.h> #include <iostream> #include <iomanip> --- sources/tools/convert/nfg2tex.cc~ 2007-04-01 19:19:03.000000000 +0000 +++ sources/tools/convert/nfg2tex.cc 2007-04-01 19:19:09.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <unistd.h> #include <iostream> #include <iomanip> --- sources/tools/enummixed/enummixed.cc~ 2007-04-01 19:21:37.000000000 +0000 +++ sources/tools/enummixed/enummixed.cc 2007-04-01 19:21:42.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <unistd.h> #include <iostream> #include <iomanip> --- sources/tools/enumpoly/gpoly.imp~ 2007-04-01 19:26:40.000000000 +0000 +++ sources/tools/enumpoly/gpoly.imp 2007-04-01 19:26:48.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include "gpoly.h" #include "libgambit/libgambit.h" --- sources/tools/enumpoly/poly.imp~ 2007-04-01 19:28:57.000000000 +0000 +++ sources/tools/enumpoly/poly.imp 2007-04-01 19:29:04.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include "poly.h" //-------------------------------------------------------------------------- --- sources/tools/enumpoly/rectangl.imp~ 2007-04-01 19:30:25.000000000 +0000 +++ sources/tools/enumpoly/rectangl.imp 2007-04-01 19:30:33.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include "rectangl.h" #include "odometer.h" --- sources/tools/enumpoly/complex.cc~ 2007-04-01 19:30:59.000000000 +0000 +++ sources/tools/enumpoly/complex.cc 2007-04-01 19:31:07.000000000 +0000 @@ -28,6 +28,7 @@ #pragma implementation #endif +#include <cstdlib> #include <stdio.h> #include <math.h> #include <float.h> --- sources/tools/enumpoly/double.cc~ 2007-04-01 19:31:27.000000000 +0000 +++ sources/tools/enumpoly/double.cc 2007-04-01 19:31:35.000000000 +0000 @@ -28,6 +28,7 @@ #pragma implementation #endif +#include <cstdlib> #include <math.h> #include <float.h> #include <assert.h> --- sources/tools/enumpoly/linrcomb.imp~ 2007-04-01 19:32:25.000000000 +0000 +++ sources/tools/enumpoly/linrcomb.imp 2007-04-01 19:32:31.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include "libgambit/libgambit.h" #include "linrcomb.h" --- sources/tools/enumpoly/odometer.h~ 2007-04-01 19:34:16.000000000 +0000 +++ sources/tools/enumpoly/odometer.h 2007-04-01 19:34:22.000000000 +0000 @@ -37,6 +37,7 @@ #ifndef ODOMETER_H #define ODOMETER_H +#include <cstdlib> #include "libgambit/libgambit.h" // ***************************** --- sources/tools/enumpoly/enumpoly.cc~ 2007-04-01 19:36:46.000000000 +0000 +++ sources/tools/enumpoly/enumpoly.cc 2007-04-01 19:36:52.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <iostream> #include <unistd.h> #include "libgambit/libgambit.h" --- sources/tools/enumpure/enumpure.cc~ 2007-04-01 19:37:24.000000000 +0000 +++ sources/tools/enumpure/enumpure.cc 2007-04-01 19:37:31.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <unistd.h> #include <iostream> #include "libgambit/libgambit.h" --- sources/tools/lcp/lcp.cc~ 2007-04-01 19:39:27.000000000 +0000 +++ sources/tools/lcp/lcp.cc 2007-04-01 19:39:34.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <iostream> #include <unistd.h> #include "libgambit/libgambit.h" --- sources/tools/liap/efgliap.cc~ 2007-04-01 19:39:51.000000000 +0000 +++ sources/tools/liap/efgliap.cc 2007-04-01 19:39:59.000000000 +0000 @@ -27,6 +27,8 @@ #include <unistd.h> #include <iostream> #include <fstream> +#include <cstdlib> +#include <limits> #include "libgambit/libgambit.h" #include "funcmin.h" --- sources/tools/liap/nfgliap.cc~ 2007-04-01 19:40:13.000000000 +0000 +++ sources/tools/liap/nfgliap.cc 2007-04-01 19:40:23.000000000 +0000 @@ -27,6 +27,8 @@ #include <unistd.h> #include <iostream> #include <fstream> +#include <cstdlib> +#include <climits> #include "libgambit/libgambit.h" #include "funcmin.h" --- sources/tools/liap/liap.cc~ 2007-04-01 19:41:31.000000000 +0000 +++ sources/tools/liap/liap.cc 2007-04-01 19:41:36.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <iostream> #include <unistd.h> #include "libgambit/libgambit.h" --- sources/tools/logit/logit.cc~ 2007-04-01 19:42:04.000000000 +0000 +++ sources/tools/logit/logit.cc 2007-04-01 19:42:11.000000000 +0000 @@ -24,6 +24,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <iostream> #include <fstream> #include <unistd.h> --- sources/tools/logit/nfgdyn.cc~ 2007-04-01 19:42:42.000000000 +0000 +++ sources/tools/logit/nfgdyn.cc 2007-04-01 19:42:52.000000000 +0000 @@ -25,6 +25,8 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> +#include <climits> #include <unistd.h> #include <math.h> #include <iostream> --- sources/tools/lp/lp.cc~ 2007-04-01 19:44:38.000000000 +0000 +++ sources/tools/lp/lp.cc 2007-04-01 19:44:53.000000000 +0000 @@ -25,6 +25,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> #include <iostream> #include <unistd.h> #include "libgambit/libgambit.h" --- sources/tools/simpdiv/nfgsimpdiv.cc~ 2007-04-01 19:46:33.000000000 +0000 +++ sources/tools/simpdiv/nfgsimpdiv.cc 2007-04-01 19:46:45.000000000 +0000 @@ -24,6 +24,8 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include <cstdlib> +#include <climits> #include <unistd.h> #include <iostream> #include <iomanip> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

