Bit7z v4.0.5
Changes from v4.0.4:
- Fixed building using some versions of GCC.
- Fixed building using GCC on macOS.
- Fixed a missing nullptr check when extracting to a fixed-size buffer.
- Fixed the empty name file alias not being used in some edge cases.
- Added a check for invalid indices in
BitInputArchive::extractTo
. - Avoided the unnecessary creation of a
FilesystemItem
object inOpenCallback
. - Added the option
BIT7Z_DISABLE_USE_STD_FILESYSTEM
, which makes bit7z always useghc::filesystem
instead ofstd::filesystem
.- This option allows you to work around any possible bug in compilers' implementation of
std::filesystem
(e.g., #181). - By default, this option is disabled, and bit7z will always try to use
std::filesystem
when available (as in previous versions).
- This option allows you to work around any possible bug in compilers' implementation of
- Fixed the
std::copy_n
warning in old versions of MSVC. - Defined
/Zc:__cplusplus
only when using MSVC 15.7 and later. - Updated examples in the README.
Full Changelog: v4.0.4...v4.0.5
This is a maintenance release. For a full changelog of the other changes introduced by bit7z v4, please check https://github.com/rikyoz/bit7z/releases/tag/v4.0.0.
Binaries built using the default options with Clang10, GCC 9, MinGW 8, MSVC 2015, 2017, 2019, and 2022 👇