Cannot compile in Manjaro, g++ (GCC) 14.1.1 20240522
g++ -Wall -fPIC -pthread -DENV_UNIX -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DEXTERNAL_CODECS -O2 -flto -DNDEBUG -I../../src/hef_src -I../../p7zip/compatible_version/CPP -I../../p7zip/compatible_version/CPP/include_windows -I../../p7zip/compatible_version/CPP/myWindows -c ../../src/hef_src/hef_file.cpp -o obj/release/__/__/src/hef_src/hef_file.o
In file included from ../../src/hef_src/hef_data.h:4,
from ../../src/hef_src/hef_file.cpp:20:
../../src/hef_src/hef_str_piece.h: In member function ‘std::__cxx11::basic_string<T> hef::HfCStrPiece<T>::replace(const hef::HfCStrPiece<T>&, const hef::HfCStrPiece<T>&, const hef::HfSStrReplace&) const’:
../../src/hef_src/hef_str_piece.h:453:53: error: no match for ‘operator=’ (operand types are ‘hef::HfSStrReplace’ and ‘const hef::HfSStrReplace’)
453 | *static_cast<HfSStrReplace*>(&sr) = cfg;
| ^~~
Pinned Comments
sirocco commented on 2018-05-28 00:41 (UTC) (edited on 2018-05-28 00:43 (UTC) by sirocco)
yes, according to https://github.com/ikk00/p7z-usr
In DCMD go to Options then Plugins. In Packer Plugin tab click the "Add" button and select the "p7z_usr.wcx" file.
In the "Tweak" dialog box, add the file extensions of file types for this plugin to open, see handlers list below.
Notes:
this is a read-only plugin, omitting types supported by other, archive dedicated, plugins is recommended.
list of file types supported is long, direct editing of DCMD configuration file may be a better approach.
ghderty commented on 2018-05-27 19:13 (UTC) (edited on 2018-05-27 19:25 (UTC) by ghderty)
It looks like this plugin needs to be installed manually: Configuration -> Options... -> Plugins -> Packer plugins (.WCX) -> Add -> and select /usr/lib/doublecmd/plugins/wcx/p7z_usr/p7z_usr.wcx