Skip to content

Fix Windows Build Errors #1633

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

Merged
merged 2 commits into from
Mar 5, 2019
Merged

Fix Windows Build Errors #1633

merged 2 commits into from
Mar 5, 2019

Conversation

jmjatlanta
Copy link
Contributor

This is a partial fix for #1593

  1. Evidently recent Boost versions include WinSock.h, which is not protected from being included more than once. The fix is to use the LEAN_AND_MEAN precompiler directive.

  2. The compiler could not determine the way to compare an uint64_t and a safe<int64_t>. The fix is to pull the value from its "safe" wrapper and compare that.

@jmjatlanta jmjatlanta merged commit a328f8c into develop Mar 5, 2019
@jmjatlanta jmjatlanta deleted the jmj_winbuildfix branch March 5, 2019 17:25
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.

3 participants