Bug 1224002 - Package cheese does not build with gcc 14 because of an assignment from an from incompatible pointer type
Summary: Package cheese does not build with gcc 14 because of an assignment from an fr...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-05-07 11:27 UTC by Martin Jambor
Modified: 2024-05-09 18:41 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jambor 2024-05-07 11:27:30 UTC
Package cheese does not build with gcc 14 because of its new errors,
see bug#1220571 and https://gcc.gnu.org/gcc-14/porting_to.html for
more details on these.

Specifically, the problem seems to be at least one assignment from an
incompatible pointer type:

[   25s] ../libcheese/cheese-flash.c: In function ‘cheese_flash_set_property’:
[   25s] ../libcheese/cheese-flash.c:135:22: error: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
[   25s]   135 |         priv->parent = g_object_ref (parent);

taken from
https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/cheese/openSUSE_Factory/x86_64

The corresponding Gentoo bug seems to be https://bugs.gentoo.org/919087
Comment 1 Michael Gorse 2024-05-09 18:41:13 UTC
Fixed.