-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Issues regarding the Fat32 and Exfat file systems #181
Comments
Hi!
If I understand correctly, are you extracting an archive from a memory buffer to the filesystem?
Just to make sure I understood correctly: you're extracting archives to fat32 and exFAT filesystems, right? What archive format are you trying to extract?
This makes me think that it might be some bug in the std::filesystem implementation of VS2017, as bit7z internally uses it for things like paths. |
The above error triggering condition is VS2017 C++17. If the development changes the environment to VS2019 or higher, this issue will not occur |
Thanks for the further details! |
Hi @psvajaz! Yesterday, I pushed a commit to the |
@rikyoz
|
Ok, so the fix was only partial. Thanks for the further tests!
Unfortunately, it seems to be a bug in old versions of MSVC (microsoft/STL#233). I'm working on finding a possible workaround. |
@psvajaz Now, you can pass the From my tests, this library doesn't suffer from the same bug as MSVC's std::filesystem and seems to fix the issue. Please let me know if this works for you, too! |
After extensive testing, the bug has been fixed. thanks |
bit7z version
4.0.x
Compilation options
BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
MSVC2017
Architecture
x86_64, x86
Operating system
Windows
Operating system versions
Windows 7 or last
Bug description
There are two questions:
Our project's development environment is VS2017 and C++17, which may encounter the above issues. After our testing, using VS2019 or later versions and C++17 will not cause such problems. However, the project relies on many static libraries, all developed using VS2017, which makes it impossible to upgrade to the VS2019 version.
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: