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.

_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to