-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
check __MINGW32__ instead of __MINGW64__ #2469
Conversation
looks like we need a rebase, but yeah, agreed |
f4141e8
to
677bdde
Compare
Rebased |
Sorry for the post-merge question/comment, but to which MSYS2 environment is this applicable? Per #2352 (comment), notcurses only supports UCRT because it's the only one with support for UTF8. Is this for the sake of a 32-bit MSYS2 Clang environment, or...? |
I am working on creating a wrapper for notcurses for the Julia language. In short, in Julia, to provide binaries to users, we cross-compile binaries to a large number of architectures (from a single Alpine linux system) and the Julia package manager downloads the correct pre-compiled binary for the user's architecture which is then If there are other reasons why the resulting artifacts would not properly work on that target, then indeed this PR was sort of pointless. But I can't test it until I have the library built, heh. |
Check the the MSYS2 environments page. The CLANG32 environment is advertised as using However, in practice, naming in the the world of MSYS2 can be a bit confusing, e.g. |
i'm pretty sure that CI success verifies that we're ok here |
Based on what @KristofferC reported:
It definitely won't mess anything up that's already working, so it's not a bad change, for sure. I'm not suggesting it shouldn't have been merged. I was just asking some questions to try and head off misunderstandings in the case that the MINGW32 environment, which uses msvcrt instead of ucrt, doesn't work (it probably won't because of lack of UTF8 support). |
Both
__MINGW32__
and__MINGW64__
are defined on 64-bit mingw but only__MINGW32__
on 32-bit mingw. Without this, one hits something likewhen trying to compile for 32-bit windows.