[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ help wanted: FTBFS mira



On Thu, Dec 08, 2011 at 09:39:05AM +0100, Andreas Tille wrote:
> Hi,
> 
> I try to build a new upstream version of mira but failed and without
> having realy checked it also the current version will fail with latest
> gcc.
> 
> The build log says:
> 
> g++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\" -DPACKAGE_VERSION=\"3.4.0.1\" -DPACKAGE_STRING=\"mira\ 3.4.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\" -DVERSION=\"3.4.0.1\" -DSTD
> In file included from ../../src/mira/readpool.H:43:0,
>                  from ../../src/mira/contig.H:52,
>                  from ../../src/mira/assembly_info.H:33,
>                  from assembly.H:32,
>                  from estassembly.C:31:
> ../../src/mira/read.H:219:5: error: 'Read::bposhashstat_t::bposhashstat_t()' cannot be overloaded
> ../../src/mira/read.H:163:5: error: with 'Read::bposhashstat_t::bposhashstat_t()'
> make[5]: *** [estassembly.o] Error 1
> 
> while line number 219 in the file in questions is:
> 
> 219:    bposhashstat_t () {
> 220:    }

And line 163 is:
 163:   bposhashstat_t() {};

In other words, you have two definitions of the same (empty) constructor
in the same class.

Mike


Reply to: