[Bug 1221684] New: GCC 14: enchant-1 package fails
https://bugzilla.suse.com/show_bug.cgi?id=1221684 Bug ID: 1221684 Summary: GCC 14: enchant-1 package fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: michal.jires@suse.com QA Contact: qa-bugs@suse.de Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- Building enchant-1 with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... Due to (exhaustive list of errors): enchant.c: In function ‘enchant_dict_suggest’: enchant.c:991:87: error: passing argument 4 of ‘enchant_pwl_suggest’ from incompatible pointer type [-Wincompatible-pointer-types] 991 | pwl_suggs = enchant_pwl_suggest(session->personal, word, len, dict_suggs, &n_pwl_suggs); | ^~~~~~~~~~ | | | char ** pwl.c: In function ‘enchant_pwl_suggest’: pwl.c:739:41: error: passing argument 1 of ‘best_distance’ from incompatible pointer type [-Wincompatible-pointer-types] 739 | max_dist = suggs? best_distance(suggs, word, len) : ENCHANT_PWL_MAX_ERRORS; | ^~~~~ | | | const char * const* pwl.c:701:33: note: expected ‘char **’ but argument is of type ‘const char * const*’ 701 | static int best_distance(char** suggs, const char *const word, size_t len) | ~~~~~~~^~~~~ In file included from enchant.c:43: pwl.h:51:63: note: expected ‘const char * const* const’ but argument is of type ‘char **’ 51 | size_t len, const char*const*const suggs, size_t* out_n_suggs); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ See the meta bug#1220571 for more info. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221684 https://bugzilla.suse.com/show_bug.cgi?id=1221684#c2 Alynx Zhou <alynx.zhou@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com --- Comment #2 from Alynx Zhou <alynx.zhou@suse.com> --- Hi, does this still happen? I assume this is fixed now. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221684 https://bugzilla.suse.com/show_bug.cgi?id=1221684#c3 Martin Jambor <mjambor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low --- Comment #3 from Martin Jambor <mjambor@suse.com> --- Well, the build failure has been worked around with a compiler flag but (unless there has been a change I did not notice) the code is still invalid C99 and it is a worthy goal to try and reduce the number of packages where we need these flags (fixing other code bases has revealed quite few actual bugs). So I have assigned the bug to myself (and lowering its priority) so that in a year or three we can go over them and check if the work around is still necessary - in this case I understand it is unlikely that upstream will fix it but I still want to track the issues somehow. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com