Open snowwolf007cn opened 1 month ago
I suspect this is a misconfiguration of your development environment as this error comes from clang itself, not from bindgen.
From the stderr
dump, it is clear that clang
doesn't understand the -mmcu=atmega328p
flag and the subsequent errors seem to be a consequence of this.
Input C/C++ Header
Since the header file generated has 15000+ lines, I won't copy it here, you can find the repository Arduino-IRremote
Bindgen Invocation
definitions and flags
wrapper.h
Actual Results
Expected Results
generate bindings