-
Notifications
You must be signed in to change notification settings - Fork 745
std::vector<int>::iterator creates trouble #1839
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
Comments
This might be, sadly, just a case of the STL not being supported very well by |
Yeah, these are not necessarily unfixable though :) I think we should not generate a bunch of these constants #1838. Same goes for the typedefs. I haven't been catching up lately with all the rust improvements, but chances are that a few of those can be "properly" supported with stuff inside generic impl blocks like: impl<T> Generic<T> {
pub type Bar = Foo<T>;
} Or such. |
I appreciate a lot all the reduced test-cases @Volker-Weissmann, thank you! |
What I did for my code is write a script that removes all |
@Volker-Weissmann Does adding |
Idk, I don't work on this project anymore. |
No worries, I had a similar issue because pub type iterator = root::std::_Bit_iterator; I added |
Input C/C++ Header
Bindgen Invocation
Actual Results
If you try to compile this, you get:
Expected Results
No compile errors?
The text was updated successfully, but these errors were encountered: