[Debian-med-packaging] Help with C++ needed

Andreas Tille andreas at an3as.eu
Thu Dec 12 17:00:28 UTC 2013


Hi,

I try to build a new version of Ball and adapted old patches to the new
version and also created a new patch but the following issue exceeds my
poor C++ knowledge:

...
In file included from /tmp/buildd/ball-1.4.2/source/DATATYPE/GRAPH/treeWidth.C:1:0:
/tmp/buildd/ball-1.4.2/include/BALL/DATATYPE/GRAPH/treeWidth.h: At global scope:
/tmp/buildd/ball-1.4.2/include/BALL/DATATYPE/GRAPH/treeWidth.h:130:16: error: 'static BALL::Size BALL::TreeWidth<UndirectedGraph>::computeTreeWidth(const TreeDecomposition&)' cannot be overloaded
    static Size computeTreeWidth(TreeDecomposition const& td);
                ^
/tmp/buildd/ball-1.4.2/include/BALL/DATATYPE/GRAPH/treeWidth.h:120:16: error: with 'static BALL::Size BALL::TreeWidth<UndirectedGraph>::computeTreeWidth(const TreeDecomposition&)'
    static Size computeTreeWidth(TreeDecomposition const& td);
                ^
/tmp/buildd/ball-1.4.2/include/BALL/DATATYPE/GRAPH/treeWidth.h:134:9: error: 'void BALL::TreeWidth<UndirectedGraph>::writeGraphvizFile(std::ostream&, const TreeDecomposition&)' cannot be overloaded
    void writeGraphvizFile(std::ostream& out, TreeDecomposition const& td);
         ^
/tmp/buildd/ball-1.4.2/include/BALL/DATATYPE/GRAPH/treeWidth.h:124:9: error: with 'void BALL::TreeWidth<UndirectedGraph>::writeGraphvizFile(std::ostream&, const TreeDecomposition&)'
    void writeGraphvizFile(std::ostream& out, TreeDecomposition const& td);
         ^
...

The packaging I'm talking about is at

    git://git.debian.org/git/debian-med/ball.git

and works with git-buildpackage.

Any help is welcome

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list