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

Consistently use lowercase for Windows libraries and header files #1058

Merged
merged 6 commits into from
Feb 13, 2024

Conversation

giordano
Copy link
Contributor

Windows typically uses case-insensitive file systems, so the case of libraries and header files is irrelevant, but MinGW consistently use lowercase names everywhere, and when cross-compiling on Linux systems with case-sensitive file systems the case of these names is very much relevant.

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

Windows typically uses case-insensitive file systems, so the case of libraries
and header files is irrelevant, but MinGW consistently use lowercase names
everywhere, and when cross-compiling on Linux systems with case-sensitive file
systems the case of these names is very much relevant.
Copy link
Contributor

@graebm graebm left a comment

Choose a reason for hiding this comment

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

LGTM
I'll get the CI to run...

@graebm
Copy link
Contributor

graebm commented Sep 14, 2023

It's failing to build with MSVC (see CI links)

@giordano
Copy link
Contributor Author

Ok, I removed the include of winnt.h which was orthogonal to the cases problem, I think it was something like #1059 but now I don't remember what it was needed for exactly.

@graebm graebm merged commit 15a2534 into awslabs:main Feb 13, 2024
52 checks passed
alfred2g pushed a commit that referenced this pull request Feb 27, 2024
)

Co-authored-by: Michael Graeb <graebm@amazon.com>
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