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

Always include std headers first #35

Merged
merged 1 commit into from
May 17, 2022
Merged

Always include std headers first #35

merged 1 commit into from
May 17, 2022

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Sep 10, 2021

C++17 added std::byte which can cause issues with headers on Windows which also have a byte typedef if that header is included after a using namespace std; statement.

Fixes build with g++ 11 on mingw-w64.

C++17 added std::byte which can cause issues with headers on Windows which also
have a byte typedef if that header is included after a using namespace std; statement
@AltGr AltGr merged commit 64b8993 into ocaml-opam:master May 17, 2022
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