We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--wrap-static-fns
return
void
static inline void f(void) {}
$ bindgen --wrap-static-fns --experimental input.h
In /tmp/bindgen/extern.c:
/tmp/bindgen/extern.c
void f__extern() { return f(); }
In C one should avoid returning a call to a void function to please -Wpedantic:
-Wpedantic
void f__extern() { f(); }
The text was updated successfully, but these errors were encountered:
bindgen
This is already fixed and will be available on bindgen 0.65.0
Sorry, something went wrong.
llvm >= 16.0.0
()
Thanks!
Sorry this was fixed here: #2497
No branches or pull requests
Input C/C++ Header
Bindgen Invocation
Actual Results
In
/tmp/bindgen/extern.c
:Expected Results
In C one should avoid returning a call to a
void
function to please-Wpedantic
:The text was updated successfully, but these errors were encountered: