You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the name `IPPORT_RESERVED` is defined multiple times
Expected Results
I'm creating bindging for 3rdparty library, and it's headers indirectly include both headers (netdb.h and netinet/in.h).
It would be nice to add some kind of mechanizm to prevent such kind of errors
without need to edit glibc headers or 3rdparty library's headers.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Input C/C++ Header
This is reduced test case. I created it based on headers of
glibc 2.26
.You can see in comments from which standard headers I got
C
code.Bindgen Invocation
Actual Results
as result compile time error from
rustc
:Expected Results
I'm creating bindging for 3rdparty library, and it's headers indirectly include both headers (netdb.h and netinet/in.h).
It would be nice to add some kind of mechanizm to prevent such kind of errors
without need to edit glibc headers or 3rdparty library's headers.
The text was updated successfully, but these errors were encountered: