-
Notifications
You must be signed in to change notification settings - Fork 22
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 building on MinGW #162
Conversation
Can you please describe this change in detail? |
|
This code does not compile cleanly on all platforms we test with continuous integration. Please update it to ✅ on all three platforms before it can be considered for inclusion. |
@hobu I have pushed new changes, consider approving CI run. |
pushed new changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review and merge as you see fit @abellgithub
@@ -129,7 +133,11 @@ std::vector<std::string> directoryList(const std::string& dir) | |||
fs::directory_iterator end; | |||
while (it != end) | |||
{ | |||
#ifndef __MINGW32__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that string()
is totally sufficient. The macro tests can go away, along with the utwine::fromNative() call. But this needs to be testsed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string() doesn't work with MSVC compiler (It asks for wstring())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will check.
ping |
No description provided.