Comments (15)
A small fix (f+up copy and paste by... Notepad :)
I am almost ready with the next "big thing", aka Windows backup of (almost, not all) C: drive by VSS support and longfilenames
Can make a backup (a new version) in about a couple of minutes
Therefore I will fix in the next release
from zpaqfranz.
The "new 55.5" should compile (it's a 55.4 with only the name changed)
github "intelligently" tries to understand if the releases have already been made.
root:/zp# md5 zpaqfranz.cpp
MD5 (zpaqfranz.cpp) = b51a84d77b3350342385c833955cd4d5
root:/zp# clang++ -Dunix -pipe -O2 zpaqfranz.cpp -o zpaqfranz -pthread
root:/zp# uname -a
OpenBSD gigazarc.francocorbelli.it 6.6 GENERIC.MP#8 amd64
root:/zp# ./zpaqfranz
zpaqfranz v55.5-experimental archiver, compiled Jul 20 2022
Usage: zpaqfranz command archive[.zpaq] files|directory... -switches...
a: Append files | t: Test (integrity)
x: Extract versions | l: List files
v: Verify on filesystem | i: Info (show versions)
from zpaqfranz.
My fault
Thank you
from zpaqfranz.
55_4a.zip
Please check the attached pre-prelease and report if OK
from zpaqfranz.
The function should be
string makelongpath(string i_path)
{
#ifdef _WIN32
if (flaglongpath)
if (iswindowspath(i_path))
if (!islongpath(i_path))
return "//?/"+i_path;
#endif
return i_path;
}
from zpaqfranz.
Compiles without issue. Thanks.
from zpaqfranz.
Confirmed with OpenBSD, by the way (still trying to port...)
$ make fake
===> Building for zpaqfranz-55.3
c++ -Dunix -O2 -pipe zpaqfranz.cpp -o zpaqfranz -pthread
zpaqfranz.cpp:20379:9: error: use of undeclared identifier 'i_string'; did you mean 'isprint'?
return i_string;
^~~~~~~~
isprint
/usr/include/ctype.h:74:5: note: 'isprint' declared here
int isprint(int);
^
zpaqfranz.cpp:20379:9: error: no viable conversion from returned value of type 'int (int)' to function return type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>')
return i_string;
^~~~~~~~
/usr/include/c++/v1/string:819:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'const std::string &' for 1st argument
basic_string(const basic_string& __str);
^
/usr/include/c++/v1/string:824:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'std::string &&' for 1st argument
basic_string(basic_string&& __str)
^
/usr/include/c++/v1/string:837:5: note: candidate constructor template not viable: no known conversion from 'int (int)' to 'const char *' for 1st argument
basic_string(const _CharT* __s) : __r_(__default_init_tag(), __default_init_tag()) {
^
/usr/include/c++/v1/string:892:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'initializer_list<char>' for 1st argument
basic_string(initializer_list<_CharT> __il);
^
/usr/include/c++/v1/string:812:40: note: explicit constructor is not a candidate
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
^
/usr/include/c++/v1/string:878:18: note: explicit constructor is not a candidate
explicit basic_string(const _Tp& __t);
^
zpaqfranz.cpp:20382:6: error: use of undeclared identifier 'flaglongpath'
if (flaglongpath)
^
3 errors generated.
*** Error 1 in /usr/local/pobj/zpaqfranz-55.3/zpaqfranz-55.3 (Makefile:10 'zpaqfranz')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2967 '/usr/local/pobj/zpaqfranz-55.3/.build_done': @cd /usr/local/pobj/zpaqfranz-...)
*** Error 2 in /usr/ports/archivers/zpaqfranz (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'fake': @lock=zpaqfranz-55.3; export _LOCKS_HE...)
As i_string
is affected as well, it might or might not be that 55.4a fixes it ... I'll try later.
from zpaqfranz.
https://github.com/fcorbelli/zpaqfranz/releases/tag/55.4
from zpaqfranz.
because Windows does not like
🤣
from zpaqfranz.
Well...
>> (SHA256) zpaqfranz-55.4.tar.gz: OK
===> Verifying specs: c++ c++abi pthread c m
===> found c++.9.0 c++abi.6.0 pthread.26.1 c.96.1 m.10.1
===> Extracting for zpaqfranz-55.4
===> Patching for zpaqfranz-55.4
===> Compiler link: clang -> /usr/bin/clang
===> Compiler link: clang++ -> /usr/bin/clang++
===> Compiler link: cc -> /usr/bin/cc
===> Compiler link: c++ -> /usr/bin/c++
===> Generating configure for zpaqfranz-55.4
===> Configuring for zpaqfranz-55.4
===> Building for zpaqfranz-55.4
c++ -Dunix -O2 -pipe zpaqfranz.cpp -o zpaqfranz -pthread
zpaqfranz.cpp:20379:9: error: use of undeclared identifier 'i_string'; did you mean 'isprint'?
return i_string;
^~~~~~~~
isprint
/usr/include/ctype.h:74:5: note: 'isprint' declared here
int isprint(int);
^
zpaqfranz.cpp:20379:9: error: no viable conversion from returned value of type 'int (int)' to function return type 'std::string' (aka 'basic_string<char, char_traits<char>, allocat
or<char>>')
return i_string;
^~~~~~~~
/usr/include/c++/v1/string:819:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'const std::string &' for 1st argument
basic_string(const basic_string& __str);
^
/usr/include/c++/v1/string:824:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'std::string &&' for 1st argument
basic_string(basic_string&& __str)
^
/usr/include/c++/v1/string:837:5: note: candidate constructor template not viable: no known conversion from 'int (int)' to 'const char *' for 1st argument
basic_string(const _CharT* __s) : __r_(__default_init_tag(), __default_init_tag()) {
^
/usr/include/c++/v1/string:892:5: note: candidate constructor not viable: no known conversion from 'int (int)' to 'initializer_list<char>' for 1st argument
basic_string(initializer_list<_CharT> __il);
^
/usr/include/c++/v1/string:812:40: note: explicit constructor is not a candidate
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
^
/usr/include/c++/v1/string:878:18: note: explicit constructor is not a candidate
explicit basic_string(const _Tp& __t);
^
zpaqfranz.cpp:20382:6: error: use of undeclared identifier 'flaglongpath'
if (flaglongpath)
^
3 errors generated.
*** Error 1 in /usr/local/pobj/zpaqfranz-55.4/zpaqfranz-55.4 (Makefile:10 'zpaqfranz')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2967 '/usr/local/pobj/zpaqfranz-55.4/.build_done': @cd /usr/local/pobj/zpaqfranz-...)
*** Error 2 in /usr/ports/archivers/zpaqfranz (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'fake': @lock=zpaqfranz-55.4; export _LOCKS_HE...)
from zpaqfranz.
OK, I'll fire up the VM
from zpaqfranz.
root:/zp# clang++ -Dunix -O2 zpaqfranz.cpp -o zpaqfranz -pthread
root:/zp#
from zpaqfranz.
Maybe I get it... just way a minute...
from zpaqfranz.
Short version: try 55.5
from zpaqfranz.
GitHub sucks in a lot of very creative ways. Well, your choice.
55.5 works. I think this can be closed then! :)
from zpaqfranz.
Related Issues (20)
- how to extract a single file? HOT 35
- Bug: -verify -paranoid -test does not work with zpaqfranz a store.zpaq 'long_path_windows_dir' -longpath HOT 4
- Robocopy command not preserving the timestamps of the copied folders HOT 19
- Issues with multiple-part archives on Linux HOT 5
- [Wiki] Clone fails because invalid chars in titles HOT 8
- WINDOWS/asmc64.exe license HOT 10
- Does Not Compile On PowerPC MacOS HOT 2
- man/zpaqfranz.pod lists GPL3+ HOT 2
- "zpaqfranz autotest" segfaults on i686 platform HOT 14
- A way to exclude certain files? HOT 8
- Create archives with volumes HOT 10
- Raspberry Pi version HOT 2
- Accelerating backups HOT 18
- A test with the files which actually collide HOT 95
- Minor typo first table. HOT 3
- Possible to provide standalone source code files? HOT 11
- Bus error HOT 30
- Windows x/extract Creates Subfolders When Using -longpath HOT 4
- Request: Wiki Update HOT 1
- ZPAQ Plugin for Total Commander and Double Commander HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zpaqfranz.