Hi,

Thank you for your great work and develop.

We use ddrescue in OpenBSD and in version 1.12:

-bash-4.0$ make
g++ -Wall -W -O2  -c arg_parser.cc
g++ -Wall -W -O2  -c block.cc
g++ -Wall -W -O2  -c ddrescue.cc
ddrescue.cc: In function `const char* <unnamed>::format_time(int)':
ddrescue.cc:60: warning: long int format, time_t arg (arg 4)
ddrescue.cc:60: warning: long int format, time_t arg (arg 4)
ddrescue.cc:62: warning: long int format, time_t arg (arg 4)
ddrescue.cc:62: warning: long int format, time_t arg (arg 4)
g++ -Wall -W -O2  -c fillbook.cc
g++ -Wall -W -O2  -c logbook.cc
g++ -Wall -W -O2  -c rescuebook.cc
g++  -Wall -W -O2 -DPROGVERSION=\"1.12\" -c -o main.o main.cc
g++ -o ddrescue arg_parser.o block.o ddrescue.o fillbook.o logbook.o rescuebook.o main.o /usr/lib/libstdc++.so.49.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/lib/libstdc++.so.49.0: warning: strcat() is almost always misused, please use strlcat()




But in ddrescue-1.13-rc1:


-bash-4.0$ make
g++ -Wall -W -O2  -c arg_parser.cc
g++ -Wall -W -O2  -c block.cc
g++ -Wall -W -O2  -c ddrescue.cc
g++ -Wall -W -O2  -c fillbook.cc
g++ -Wall -W -O2  -c logbook.cc
g++ -Wall -W -O2  -c rescuebook.cc
g++  -Wall -W -O2 -DPROGVERSION=\"1.13-rc1\" -c -o main.o main.cc
main.cc: In function `int <unnamed>::do_rescue(long long int, long long int, Domain&, const char*, const char*, const char*, int, int, int, int, int,
   int, bool, bool, bool, bool, bool, bool, bool)':
main.cc:352: error: `posix_fallocate' undeclared (first use this function)
main.cc:352: error: (Each undeclared identifier is reported only once for each function it appears in.)
*** Error code 1



Best regards,
Ruy Bento

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

Reply via email to