-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
gnome.generate_gir(): add 'fatal_warnings' argument #7130
Comments
I'm very wary of this, not sure this is a good idea at all to link this to the global meson It's pretty difficult in a complex code base to make Maybe we should look into adding either module options, or a new kwarg (which projects could then link to a custom option)? |
We can already do it manually by passing Maybe this could be gated with a specific |
Right, but my concern was basically the ability to do the normal Maybe one could have something like Or maybe I'm just worried unnecessarily, but I just don't feel g-i has the same kind of maturity level as a proper compiler and we'll need to be able to work around wrong warnings or it otherwise getting confused (e.g. it's pure luck that your trick in gst-plugins-base worked and g-i didn't pick up on the types being different, isn't it? What do we do if it starts warning about that in the next version?) |
Can't users just workaround warnings by annotating the symbol with |
Maybe, I don't know if all/most warnings lead to |
Looks like silenting those warnings is actually not that easy. So I agree with you, using What about adding a
|
I like that. |
Maybe plural though - |
Why would it be a feature option? "auto" would make no sense here... If it's a feature option in your project for whatever reason, you can just pass
+1, we have |
Can we do |
Yes that works |
Not very important in this case though. |
When building with
werror=enabled
gnome.generate_gir()
should pass--warn-error
to the gir generator so its own warnings are fatal as well.The text was updated successfully, but these errors were encountered: