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

Fix tests for Windows builds #1600

Closed
wants to merge 1 commit into from
Closed

Fix tests for Windows builds #1600

wants to merge 1 commit into from

Conversation

jmjatlanta
Copy link
Contributor

@jmjatlanta jmjatlanta commented Feb 18, 2019

Partial fix for #1593

Tests in Windows will not build due to 3 errors:

  1. is in the fc submodule, and is not part of this PR
  2. WinSock.h ends up being included twice due to Boost. Adding a compiler directive WIN32_LEAN_AND_MEAN corrects the problem, and seems to be the online consensus for fixing when this occurs.
  3. Windows is picky on their template arguments for the std::independent_bits_engine, and blame can be put on the c++11 spec. The work-around to the specification problem is to use unsigned integer instead of unsigned char.

@abitmore
Copy link
Member

It's clear that 3 is an issue of hardfork branch, but how about 2? Do we want to fix the next feature release, or only fix the next consensus release?

@jmjatlanta
Copy link
Contributor Author

Do we want to fix the next feature release, or only fix the next consensus release?

Error 2 is a problem in the develop branch. So yes, the most appropriate place to fix that would be over there. I will take that change out of this PR and create a new one based on the develop branch.

@jmjatlanta
Copy link
Contributor Author

As abit correctly points out, the problem is spread across subprojects and branches. I will close this in favor of separate PRs in their respective branches/subprojects.

@jmjatlanta jmjatlanta closed this Feb 21, 2019
@abitmore abitmore removed this from the 201904 - Consensus-Upgrade Release milestone Feb 21, 2019
@abitmore abitmore deleted the jmj_winbuild branch March 23, 2019 00:28
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.

2 participants