Skip to content

Cross-compile w/ MinGW; set _WIN32_WINNT - #1576

Merged
justsmth merged 3 commits into
aws:mainfrom
justsmth:set-_WIN32_WINNT
May 8, 2024
Merged

justsmth merged 3 commits into
aws:mainfrom
justsmth:set-_WIN32_WINNT

Conversation

@justsmth

@justsmth justsmth commented May 6, 2024 •

Copy link
Copy Markdown
Contributor

Description of changes:

Callout

  • The following build failure occurs when building w/o setting _WIN32_WINNT:
/home/justsmth/repos/aws-lc/crypto/bio/bio_test.cc:147:7: error: ‘inet_pton’ was not declared in this scope; did you mean ‘inet_ntoa’?
  147 |   if (inet_pton(AF_INET6, "::1", &sin6.sin6_addr) != 1) {
      |       ^~~~~~~~~
      |       inet_ntoa

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@justsmth
justsmth requested a review from a team as a code owner May 6, 2024 14:39
@justsmth
justsmth force-pushed the set-_WIN32_WINNT branch 2 times, most recently from 0eb3ef7 to e93651d Compare May 6, 2024 20:06
@justsmth
justsmth marked this pull request as draft May 6, 2024 20:35
@justsmth
justsmth force-pushed the set-_WIN32_WINNT branch 9 times, most recently from e8ae553 to c74701e Compare May 6, 2024 22:56
@justsmth
justsmth force-pushed the set-_WIN32_WINNT branch from c74701e to 7921090 Compare May 7, 2024 12:42
@justsmth justsmth changed the title Set _WIN32_WINNT for "Windows 7" compatibility Cross-compiler w/ MinGW; set _WIN32_WINNT May 7, 2024
@justsmth justsmth changed the title Cross-compiler w/ MinGW; set _WIN32_WINNT Cross-compile w/ MinGW; set _WIN32_WINNT May 7, 2024
@justsmth
justsmth marked this pull request as ready for review May 7, 2024 14:49
Comment thread .github/workflows/windows-alt.yml Resolved
skmcgrail
skmcgrail previously approved these changes May 7, 2024
Comment thread tests/ci/run_cross_mingw_tests.sh Resolved
Comment thread tests/ci/run_cross_mingw_tests.sh Resolved
Comment thread tests/ci/run_cross_mingw_tests.sh Resolved
@justsmth
justsmth merged commit 9a7b608 into aws:main May 8, 2024
@justsmth
justsmth deleted the set-_WIN32_WINNT branch May 8, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants