Hello Martin,

Martin Koeppe wrote:
> Unfortunately gddrescue is not available for Windows.

There is at least a cygwin port of ddrescue. Just search for "ddrescue cygwin".


> One case isn't quite obvious to me, however:
> Why is in block.h, class Block, element size_ defined as long long?

Because it needs to be at least 64 bits long.


> In ddrescue.cc readblock() is called several times with such a long long
> sized block as parameter.

If your compiler barks at this, I can easily solve it with a cast. The real value never exceeds what readblock can accept.


> here comes my patch against 1.11 so that MSVC is happy and doesn't
issue signed/unsigned warnings anymore.

I think there are no real signed/unsigned issues in ddrescue; no value ever exceeds the maximum positive signed value. I'll try to fix all the signed/unsigned warnings you get, but I can't apply your patch because it breaks build in GNU systems.


Regards,
Antonio.



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

Reply via email to