bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] Compiling ddrescue 1.1 on Windows with Cygwin


From: Antonio Diaz Diaz
Subject: Re: [Bug-ddrescue] Compiling ddrescue 1.1 on Windows with Cygwin
Date: Sat, 07 Jan 2006 21:29:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20040913

DePriest, Jason R. wrote:
I know you have no plans to support ddrescue on any platform other
than GNU/Linux platforms.

I haven't got the time to support ddrescue on other platforms, but I am happy to see it ported and supported.


I was able to get ddrescue compiled under Cygwin by making a couple of
adjustments.  I thought some of the other readers of this list might
find this information helpful.

I also think so. Thanks for sharing your findings with us.


Basically, you take most of the std::snprintf and std::llabs entries
and drop the 'std::' prefix.  I do not know why it works, but it does.

`snprintf' is not part of the C++ standard, but I really dont know why, given it is the perfect function for the job. Gcc/glibc include it as a extension, and I think all compilers should do the same.

`llabs' was added by ISO C99 and I suppose it is included in C++ as a extension, but not on all systems.


Best regards,
Antonio Diaz.




reply via email to

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