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

MSVC: Fix locale workaround code #14236

Merged
merged 1 commit into from Jan 10, 2024
Merged

Conversation

srifqi
Copy link
Member

@srifqi srifqi commented Jan 10, 2024

Goal of the PR
This PR fixes a bug when compiling in MSVC.

How does the PR work?
(See changes)

Does it resolve any reported issue?
I encountered it myself.

Does this relate to a goal in the roadmap?
Yes, it is a bugfix.

To do

This PR is Ready for Review.

How to test

  1. Compile Minetest using MSVC (in Visual Studio).
  2. No compilation error should happen.

@srifqi
Copy link
Member Author

srifqi commented Jan 10, 2024

The next question will be, "How was it not catched by the CI?"

@sfan5 sfan5 added @ Build CMake, build scripts, official builds, compiler and linker errors Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines and removed @ Translation labels Jan 10, 2024
@rollerozxa
Copy link
Member

The next question will be, "How was it not catched by the CI?"

I don't think the MSVC CI builds with Gettext enabled right now

@sfan5 sfan5 merged commit 0d41996 into minetest:master Jan 10, 2024
13 checks passed
@srifqi srifqi deleted the fix_gettext_msvc branch January 10, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix 🐛 PRs that fix a bug @ Build CMake, build scripts, official builds, compiler and linker errors Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants