On Wed, Mar 27, 2019 at 6:38 PM Antonio Diaz Diaz <anto...@gnu.org> wrote:
>
> 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.
Probably not. I am aware though.
>
> > 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.
Right. I've seen similar issues in other projects but not quite like this.
>
> What compiler are you using?
GCC7 with uClibc++ instead of libstdcpp provided by GCC.

More info: https://github.com/openwrt/packages/pull/5909
>
>
> Best regards,
> Antonio.
>
> _______________________________________________
> Bug-ddrescue mailing list
> Bug-ddrescue@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-ddrescue

_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to