-
Notifications
You must be signed in to change notification settings - Fork 30
Add explicit extern "C" #516
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #516 +/- ##
=======================================
Coverage 72.45% 72.45%
=======================================
Files 9 9
Lines 3591 3591
=======================================
Hits 2602 2602
Misses 989 989 🚀 New features to boost your workflow:
|
clang-tidy review says "All clean, LGTM! 👍" |
@@ -12,7 +12,7 @@ | |||
#include <stddef.h> | |||
#include <stdint.h> | |||
|
|||
LLVM_CLANG_C_EXTERN_C_BEGIN | |||
extern "C" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we include clang-c/ExternC.h
which defines the macro instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-c/ExternC.h is already included, it looks like this PR does not make sense.
maybe just merge #440? |
Good point. @adam-urbanczyk, can you still reproduce the issue with the master? |
Hi, I think the problem was relevant to the win use-case Those problems are resolved now once #440 went in (check #483 (comment)) |
Thank you! |
Description
I added explicit
extern "C"
Fixes #515
Type of change
Please tick all options which are relevant.
Testing
Please describe the test(s) that you added and ran to verify your changes.
Checklist