[Debian-med-packaging] Bug#420963: FTBFS with GCC 4.3: error: extra '; '

Martin Michlmayr tbm at cyrius.com
Wed Apr 25 14:44:44 UTC 2007


Package: amap-align
Version: 2.0-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.

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

> Automatic build of amap-align_2.0-2 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/amap-align-2.0'
> g++ -O3 -W -Wall -pedantic -DNDEBUG -DNumInsertStates=1 -DVERSION='"AMAP.2.0"' -funroll-loops -lm -o amap Amap.cc 
> In file included from Amap.cc:9:
> MultiSequenceDag.h:210: error: extra ';'
> In file included from Amap.cc:12:
> ProbabilisticModel.h: In member function 'void ProbabilisticModel::ComputeNewParameters(Sequence*, Sequence*, const VF&, const VF&, VF&, VF&, VF&, VVF&, VF&, bool) const':
> ProbabilisticModel.h:504: warning: suggest parentheses around && within ||
> make[1]: *** [amap] Error 1
> make[1]: Leaving directory `/build/tbm/amap-align-2.0'

--- MultiSequenceDag.h~	2007-04-25 14:32:50.000000000 +0000
+++ MultiSequenceDag.h	2007-04-25 14:33:03.000000000 +0000
@@ -207,7 +207,7 @@
   // to two columns and the edge weight.
   /*****************************************************************/
 
-  Edge (Column* c1, Column* c2, float initWeight) : sourceColumn(c1), targetColumn(c2), weight(initWeight) {};
+  Edge (Column* c1, Column* c2, float initWeight) : sourceColumn(c1), targetColumn(c2), weight(initWeight) {}
 
   /*****************************************************************/
   // Edge::calcTgfWeight()

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Debian-med-packaging mailing list