GCC 14 function documentation warnings in libgimpbase/gimpchoice.c
Environment/Versions
- GIMP version: git master at 67317619
- Operating System: Fedora Linux 40/rawhide
Reproduction
Is the bug reproducible? Always
Reproduction steps:
Compile via meson/ninja using gcc14
Expected result:
In an ideal world, no warnings. :)
Actual result:
Warnings due to function documentation containing non-existing signature parameters or non-existing return types:
[381/2075] Generating libgimp/Gimp-3.0.gir with a custom command (wrapped by meson to set env)
../libgimpbase/gimpchoice.c:240: Warning: Gimp: gimp_choice_list_nicks: unknown parameter 'nick' in documentation comment
../libgimpbase/gimpchoice.c:367: Warning: Gimp: gimp_choice_set_sensitive: invalid return annotation