bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] Not compiling with uclibc++


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] Not compiling with uclibc++
Date: Thu, 28 Mar 2019 02:34:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello Rosen,

Rosen Penev wrote:
I recently tried to compile gddrescue 1.23 with uclibc++ but got the
following error:

ddrescue 1.24 is already available. But I think it does not solve your problem.

error: no matching function for call to 'Sblock::Sblock()'
     T temp;
       ^~~~
In file included from mapfile.cc:30:0:
block.h:107:3: note: candidate: Sblock::Sblock(long long int, long
long int, Sblock::Status)
    Sblock( const long long p, const long long s, const Status st )
    ^~~~~~
block.h:107:3: note:   candidate expects 3 arguments, 0 provided
block.h:105:3: note: candidate: Sblock::Sblock(const Block&, Sblock::Status)
    Sblock( const Block&  b, const Status st )
    ^~~~~~
block.h:105:3: note:   candidate expects 2 arguments, 0 provided
block.h:95:7: note: candidate: Sblock::Sblock(const Sblock&)
  class Sblock : public Block
        ^~~~~~
block.h:95:7: note:   candidate expects 1 argument, 0 provided

The problem seems to be that your implementation does not provide an implicit default constructor, as the C++ standard seems to require for class Sblock.

What compiler are you using?


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]