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

[vcpkg] Fix build for mingw #15504

Merged
merged 2 commits into from
Jan 8, 2021
Merged

Conversation

strega-nil
Copy link
Contributor

@strega-nil strega-nil commented Jan 7, 2021

Change u8path to always allow string::const_iterator, even on non-MSVC. We had the split before because I thought that std::is_same_v<char const*, string::const_iterator> was an implementation choice made by some standard libraries, but that isn't accurate.

Fixes #10349

none of the major three implementations have string::const_iterator = char const*
@strega-nil strega-nil added the info:internal This PR or Issue was filed by the vcpkg team. label Jan 7, 2021
@JackBoosY JackBoosY self-assigned this Jan 8, 2021
@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Jan 8, 2021
@strega-nil strega-nil merged commit 36cd510 into microsoft:master Jan 8, 2021
@strega-nil strega-nil deleted the fix-mingw branch January 19, 2021 19:51
strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* fix build

* stop the templateness

none of the major three implementations have string::const_iterator = char const*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vcpkg] Support building vcpkg.exe with mingw
3 participants