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

Fix Windows build with MSYS2/MinGW. #33

Merged
merged 1 commit into from
May 2, 2024

Conversation

erinmaus
Copy link
Contributor

@erinmaus erinmaus commented May 1, 2024

SChannelConnection depends on a C++14 feature, std::make_unique. This is causing the build to fail on Windows when compiling with MSYS2/MinGW.

See example build failure with MSYS2/MinGW:

image

SChannelConnection depends on a C++14 feature, make_unique.
Copy link
Member

@slime73 slime73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we even want to have the schannel backend built by default on desktop Windows anymore...

@MikuAuahDark
Copy link
Contributor

MikuAuahDark commented May 2, 2024

The alternative API for Windows UWP is Windows.Web.Http.HttpClient which is C++17 (or C++20 if Clang is used) if C++/WinRT is used.

I'd say keep the Schannel backend for now until we need to properly support UWP in LOVE 12.

@slime73 slime73 merged commit 0ecd6ee into love2d:main May 2, 2024
6 checks passed
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.

3 participants