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

Remove -Wmodule-import-in-extern-c warnings #654

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

rockwotj
Copy link
Contributor

@rockwotj rockwotj commented Aug 28, 2024

When using clang modules (not C++ modules) #including stuff within extern "C" blocks causes warnings. Remove said warnings by moving the #include. See this StackOverflow question for an idea of what the warning looks like.

Before submitting this PR, run tools/clang-format.sh on your changes. See the "Contributing" section in the README for details.

When using [clang modules][1] (not C++ modules) #including stuff within `extern "C"` blocks causes warnings. Remove said warnings by moving the #include. See this [StackOverflow question] for an idea of what the warning looks like.


[1]: https://clang.llvm.org/docs/Modules.html
[2]: https://stackoverflow.com/questions/77113501/xcode-15-compile-error-import-of-c-module-zlib-appears-within-extern-c-la
@lemire
Copy link
Member

lemire commented Aug 28, 2024

Let us run the tests. If they pass, we shall merge and release.

@rockwotj
Copy link
Contributor Author

rockwotj commented Sep 4, 2024

Ping - looks like they passed. Thank you again for your time here!

@lemire lemire merged commit d2ee8e4 into RoaringBitmap:master Sep 4, 2024
21 checks passed
@rockwotj rockwotj deleted the patch-1 branch September 4, 2024 02:42
@rockwotj rockwotj restored the patch-1 branch September 4, 2024 02:42
@rockwotj rockwotj deleted the patch-1 branch September 4, 2024 02:42
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