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

Windows build fixes #859

Closed
wants to merge 1 commit into from
Closed

Windows build fixes #859

wants to merge 1 commit into from

Conversation

michael-loki
Copy link
Contributor

No description provided.

@@ -24,7 +24,7 @@ if(NOT MSVC_VERSION)
add_definitions(-DWINVER=0x0500 -D_WIN32_WINNT=0x0500)
# Wait a minute, if we're not Microsoft C++, nor a Clang paired with Microsoft C++,
# then the only possible option has to be GNU or a GNU-linked Clang!
set(FS_LIB stdc++fs)
# set(FS_LIB stdc++fs)
Copy link
Contributor

Choose a reason for hiding this comment

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

but why tho

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Latest mingw ships with a non-broken stdlib

Copy link
Contributor

@despair86 despair86 Oct 12, 2019

Choose a reason for hiding this comment

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

ok apparently only mainstream targets get this special treatment (pretty much Linux/macOS/Windows)

t. builds on a bunch of niche, arcane, yet up to date platforms that still ship a separate c++17 filesystem ts lib even at GCC 9 (BSDs...)

Copy link
Contributor

Choose a reason for hiding this comment

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

wrap it around a library check or version check at least

@despair86
Copy link
Contributor

Merging, and reversing the patch listed above
thank you for your service mike

despair86 added a commit to despair86/loki-network that referenced this pull request Oct 30, 2019
despair86 added a commit to despair86/loki-network that referenced this pull request Oct 30, 2019
@despair86 despair86 closed this Oct 30, 2019
despair86 added a commit to despair86/loki-network that referenced this pull request Oct 30, 2019
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.

None yet

2 participants