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

Changed Linux build to use 16-bit wide chars, to fix issue #5132 #5143

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

MrMEEE
Copy link
Contributor

@MrMEEE MrMEEE commented Jul 30, 2024

Add a summary of the change(s) brought by this PR here.

What issue(s) does this PR address?

#5132

Does this PR introduce new feature(s)?

no

Does this PR introduce any breaking change(s)?

no

Additional information

VHD Differencing is broken on Linux systems, this fixes the issue, by using the same size chars as on Windows and Macs

@joncampbell123
Copy link
Owner

joncampbell123 commented Aug 1, 2024

Ehhhh.... if the issue is the VHD image code using wchar_t, forcing the whole project to use 16-bit wchar is kind of a sledgehammer approach that might cause other problems. Other libraries in Linux that use the normal wchar_t, for example.

I think a better approach is to modify the VHD image code to change wchar_t to uint16_t so the strings line up properly.

https://cplusplus.com/reference/cstdint/

@joncampbell123 joncampbell123 merged commit 30b55b2 into joncampbell123:master Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants