Package: pingus
Version: 0.6.0-8.3
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of pingus_0.6.0-8.3 on bigsur by sbuild/mips 1.89
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   
> -I/usr/include/libxml2  -Wall -g -O2 -MT graph.o -MD -MP -MF 
> ".deps/graph.Tpo" \
>         -c -o graph.o `test -f 'graph.cxx' || echo './'`graph.cxx; \
>       then mv ".deps/graph.Tpo" ".deps/graph.Po"; \
>       else rm -f ".deps/graph.Tpo"; exit 1; \
>       fi
> graph.hxx: In copy constructor 'WorldMapNS::Graph<NodeType, 
> EdgeType>::Graph(const WorldMapNS::Graph<NodeType, EdgeType>&)':
> graph.hxx:83: error: there are no arguments to 'assert' that depend on a 
> template parameter, so a declaration of 'assert' must be available
> graph.hxx:83: error: (if you use '-fpermissive', G++ will accept your code, 
> but allowing the use of an undeclared name is deprecated)
> graph.hxx: In member function 'WorldMapNS::Graph<NodeType, EdgeType>& 
> WorldMapNS::Graph<NodeType, EdgeType>::operator=(const 
> WorldMapNS::Graph<NodeType, EdgeType>&)':
> graph.hxx:88: error: there are no arguments to 'assert' that depend on a 
> template parameter, so a declaration of 'assert' must be available
> graph.hxx: In member function 'void WorldMapNS::Graph<NodeType, 
> EdgeType>::remove_node(const WorldMapNS::NodeId&)':
> graph.hxx:120: error: there are no arguments to 'assert' that depend on a 
> template parameter, so a declaration of 'assert' must be available
> graph.hxx: In member function 'void WorldMapNS::Graph<NodeType, 
> EdgeType>::remove_edge(const WorldMapNS::NodeId&, const WorldMapNS::NodeId&)':
> graph.hxx:125: error: there are no arguments to 'assert' that depend on a 
> template parameter, so a declaration of 'assert' must be available
> graph.hxx: In member function 'WorldMapNS::Edge<EdgeType>& 
> WorldMapNS::Graph<NodeType, EdgeType>::resolve_edge(const 
> WorldMapNS::NodeId&, const WorldMapNS::NodeId&)':
> graph.hxx:152: error: there are no arguments to 'assert' that depend on a 
> template parameter, so a declaration of 'assert' must be available
> make[4]: *** [graph.o] Error 1


--- ./src/worldmap/graph.hxx~   2006-03-12 04:18:22.000000000 +0000
+++ ./src/worldmap/graph.hxx    2006-03-12 04:19:19.000000000 +0000
@@ -23,6 +23,7 @@
 #include <algorithm>
 #include <vector>
 #include <iostream>
+#include <cassert>
 
 namespace WorldMapNS {
 

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