-
Notifications
You must be signed in to change notification settings - Fork 23
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
Lots of warnings when compiling #5
Comments
It looks like almost every single one can be resolved by setting the structs to It looks like what it primarily does is tell the compiler that it's going to be used by foreign functions, do you know if there are any downsides? |
Good idea. Done. |
You missed the it on pub struct Error(pub c_uint); When I add it there, there are no more warnings at all. |
Odd, I'm not getting any warnings in rustc 0.12.0-pre-nightly (85fd37f87). The error "struct" is Rust-private, so it shouldn't have |
I'm using Nonetheless, I'm getting
In addition to a lot more ones, all pointing at the |
Ah, I forgot it's passed to |
It is also complaining about all the return values, but it might be complaining only because of that one. |
I've upgraded rustc, and with one more tweak dda3c78 it builds cleanly for me. |
There are 82 warnings when compiling.
The text was updated successfully, but these errors were encountered: