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
Describe the bug.
I'm trying to link to an existing c++ library
but If typedef is used on overloaded function arguments. it makes the system not be able to compile
Thanks for the report, and especially, for raising the PR with the test case.
Unfortunately, the problem here lies within bindgen. It's telling us:
pubtypeArg = u8;
which isn't true. You could consider raising an upstream bindgen bug. Then again, bindgen continuously improves in its handling of cases like this, so it might be fixed soon or perhaps already. I'm in the process of doing a bindgen roll so that's the first thing to try.
Describe the bug.
I'm trying to link to an existing c++ library
but If typedef is used on overloaded function arguments. it makes the system not be able to compile
To Reproduce
Please see the repo here
Expected behavior
Should compile fine with the typedef.
Additional context
Removing the typedef and replacing with the actual types works fine.
Also I'm quite new to c++ so I'm not sure If I'm doing something wrong.
The text was updated successfully, but these errors were encountered: