forked from Unity-Technologies/crunch
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improve MinGW compatibility #49
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
illwieckz
commented
Jun 25, 2024
•
edited
Loading
edited
- Provide ready-to-use cmake toolchain file for MinGW,
- Fix build on 32-bit MinGW,
- Avoid a warning by not redefining Win32 functions on MinGW,
- Use more Win32 code with MinGW.
- Do not redefine sprintf_s, vsnprintf_s, strlwr, strupr on MinGW, use them. - Deduplicate vsnprintf_s and _vsnprintf_s. > vsnprintf_s is identical to _vsnprintf_s and is included for conformance > to the ANSI standard. _vnsprintf is retained for backward compatibility. > -- https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/vsnprintf-s-vsnprintf-s-vsnprintf-s-l-vsnwprintf-s-vsnwprintf-s-l?view=msvc-170
illwieckz
force-pushed
the
illwieckz/mingw
branch
from
June 25, 2024 08:59
96098c2
to
20e2db3
Compare
illwieckz
force-pushed
the
illwieckz/mingw
branch
from
June 25, 2024 11:10
20e2db3
to
171ac66
Compare
slipher
reviewed
Jun 26, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the printf stuff should be 1 commit IMO. Making every line a separate commit seems excessive.
illwieckz
force-pushed
the
illwieckz/mingw
branch
from
June 26, 2024 14:57
08bc764
to
ff09002
Compare
Squashed. |
LGTM |
illwieckz
force-pushed
the
illwieckz/mingw
branch
from
June 28, 2024 12:31
ff09002
to
3b0be5a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.