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

<filesystem>: Use of std::filesystem::path causes link error on UWP(already fixed) #1069

Closed
fsb4000 opened this issue Jul 21, 2020 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@fsb4000
Copy link
Contributor

fsb4000 commented Jul 21, 2020

Describe the bug
Use of std::filesystem::path causes link error on UWP

Command-line test case

1. Create default UWP C++ Project.
2. Add /std:c++17  flag
3. Add
#include <filesystem>
static auto myPath = std::filesystem::path("anyDir") / std::filesystem::path("anyFile.txt");

Expected behavior
Should work.
Actually it works.
test
The bug is already fixed: #322

STL version
Microsoft Visual Studio Community 2019
Version 16.6.4

Additional context
See more: VSO-718901 / AB#718901 | DevCom-369081

@fsb4000 fsb4000 mentioned this issue Jul 21, 2020
58 tasks
@StephanTLavavej StephanTLavavej added bug Something isn't working duplicate This issue or pull request already exists labels Jul 30, 2020
@StephanTLavavej
Copy link
Member

Thanks for verifying that this was indeed fixed. (Apparently there was a second error that vanished, probably due to WinSDK updates; I've never known how to build UWP projects so I really appreciate your work here!) I've resolved the DevCom and VSO bugs accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants