[Bug 1224536] New: Package dia does not build with gcc14 because of a call argument with an incompatible pointer type
https://bugzilla.suse.com/show_bug.cgi?id=1224536 Bug ID: 1224536 Summary: Package dia does not build with gcc14 because of a call argument with an incompatible pointer type Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: mjambor@suse.com QA Contact: qa-bugs@suse.de Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- Gcc 14 newly by default treats as errors a number of situations which before were only warnings. For more information see https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571. Because of this, package fails to compile. This can be seen online at: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/dia/... It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc The error (that halts the build) is: [ 66s] custom_object.c: In function 'custom_setup_properties': [ 66s] custom_object.c:382:49: error: passing argument 1 of '(info->props + (sizetype)((long unsigned int)i * 88))->ops->get_data_size' from incompatible pointer type [-Wincompatible-pointer-types] [ 66s] 382 | size = info->props[i].ops->get_data_size (&info->props[i]); [ 66s] | ^~~~~~~~~~~~~~~ [ 66s] | | [ 66s] | PropDescription * {aka struct _PropDescription *} [ 66s] custom_object.c:382:49: note: expected 'Property *' {aka 'struct _Property *'} but argument is of type 'PropDescription *' {aka 'struct _PropDescription *'} -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1224536 https://bugzilla.suse.com/show_bug.cgi?id=1224536#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- I have submitted https://build.opensuse.org/request/show/1186199 For the record, I have taken all of its content from https://src.fedoraproject.org/rpms/dia/c/0a14169fc36b959598074065678e0126830... and https://src.fedoraproject.org/rpms/dia/c/c1d313bb4bcc01768b3507e8cbe9eaf50d6... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com