leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
148 stars 17 forks source link

Fix std::filesystem conflict with /std:c++17 #1056

Closed jdonald closed 6 years ago

jdonald commented 6 years ago

Visual Studio 2017 15.7.0 Preview 2.0 adds support for std::filesystem when building in C++17 mode, leading to conflicts that this PR resolves.

Although we are currently looking to remove filesystem-related code from Autowiring, that is not trivial because LeapIPC currently depends on this functionality. If it didn't, LeapIPC would either have to link in Boost directly or drop its support for C++14 and older, something we may resort to at a later time.