Dear Richard, Richard Burkert wrote:
block.h uses std::min and std::max which are defined in<algorithm>, however three source files include block.h without first including <algorithm>: command_mode.cc, io.cc, and loggers.cc. Observed building 1.25 source in VC12.
Thank you very much for reporting this. I have fixed it. The change will appear in the next version of ddrescue.
Best regards. Antonio.