Roberto Leinardi
11/30/2024, 1:08 PMw: Opt-in requirement marker org.gtkkn.bindings.webkit.annotations.WebKitVersion2_8 is unresolved. Please make sure it's present in the module dependencies.
I know the ideal solution is to opt-in only to the necessary annotations, but this isn't simple as they are generated dynamically using GObject introspection, which varies by library version on the host system.
Is there a way to suppress this specific opt-in warning at the module level, or are there other approaches to handle this?
Thanks!dmitriy.novozhilov
12/02/2024, 8:04 AM-Xsuppress-warning=WARNING_NAME
), but it won't work for this one, as this warning is unnamed
Could you please create a ticket for this usecase?
cc @mglukhikhmglukhikh
12/02/2024, 9:14 AMRoberto Leinardi
12/02/2024, 9:21 AMMy bindings are complex, with many interdependent modules and a deep hierarchy. To simplify, I opt-in to all ~200 annotations across all modules.So the issue is that in some modules I'm opting-in to markers that are not available as dependency. I know, it is not correct, but it worked in 2.0 and, since the marker are part of generated code, I can't simply hard-code them manually for each module. The workaround I found is to move all the annotations on a dedicated module and add this module as dependency, this way they can always be resolved. But I was wondering if there is another solution.
mglukhikh
12/02/2024, 9:24 AMRoberto Leinardi
12/02/2024, 9:42 AM