Skip to content
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

[help]: What is the difference between msvc 2015 , 2017, 2019, 2022? #269

Open
SwartzBushnell opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels

Comments

@SwartzBushnell
Copy link

SwartzBushnell commented Jan 9, 2025

I'm getting ready to use bit7z and I need it to work correctly on windows 7 and all systems after that, so I'm checking with you to make sure of the differences so I can choose the right version.

I don't see a description in readme.md, did I miss it?

Thank you and have a nice day.

@rikyoz
Copy link
Owner

rikyoz commented Jan 9, 2025

Hi!
As far as bit7z is concerned, there is no difference between the different versions of MSVC.
You can choose any version of MSVC you need for your project, bit7z's API is always the same and the behavior of the library should always be the same.

I say "should" because, of course, there could be some bugs in the compiler or in the standard library that make bit7z behave slightly differently between each version of MSVC.
However, I am not aware of any such bugs, with the exception of this one in the latest versions of MSVC 2022, for which BitException always returns "unknown error" at the end of the error message (if the system locale is not en-US) instead of the specific error-related message.
Hopefully, they'll fix that, but I'm also considering implementing some workaround.
Other versions of MSVC should not have this bug.

@rikyoz rikyoz added the ❔ help label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants