Package: glob2
Version: 0.8.22.dfsg-1
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 (20070326-1 or
higher) from unstable. (Currently not available for i386, but for
amd64, powerpc and ia64.  I hope to have i386 binaries in the archive
in the near future.)

Your new upstream introduced two new problems:

> Automatic build of glob2_0.8.22.dfsg-1 on coconut0 by sbuild/ia64 0.49
...
> AIEcho.cpp:1467: error: 'numeric_limits' is not a member of 'std'
> AIEcho.cpp:1467: error: expected primary-expression before 'int'
> AIEcho.cpp:1467: error: expected ',' or ';' before 'int'

--- src/AIEcho.cpp~     2007-04-25 07:56:30.000000000 +0000
+++ src/AIEcho.cpp      2007-04-25 07:57:12.000000000 +0000
@@ -22,6 +22,7 @@
 #include <queue>
 #include <map>
 #include <algorithm>
+#include <limits>
 #include "BuildingsTypes.h"
 #include "IntBuildingType.h"
 #include "Game.h"
--- src/AIOldNicowar.cpp~       2007-04-25 07:58:54.000000000 +0000
+++ src/AIOldNicowar.cpp        2007-04-25 07:59:03.000000000 +0000
@@ -33,6 +33,7 @@
 #include <iostream>
 #include <sstream>
 #include <iomanip>
+#include <limits>
 
 using namespace Nicowar;
 

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