Skip to content

Fix build issues with GCC 14#816

Open
listout wants to merge 1 commit intoIgnorantGuru:masterfrom
listout:gcc14-fix
Open

Fix build issues with GCC 14#816
listout wants to merge 1 commit intoIgnorantGuru:masterfrom
listout:gcc14-fix

Conversation

@listout
Copy link
Copy Markdown

@listout listout commented Apr 21, 2024

GCC 14 enables -Wincompatible-pointer-types by default thus resulting in build error such as:
exo-icon-view.c:2686:27: error: assignment to GdkWindow {aka struct _GdkWindow } from incompatible pointer type GObject {aka struct _GObject } [-Wincompatible-pointer-types]

Much of the code changes are borrowed from older code segments.

First reported on Gentoo linux, for more reference please bug: https://bugs.gentoo.org/928492

GCC 14 enables -Wincompatible-pointer-types by default thus resulting in
build error such as:
exo-icon-view.c:2686:27: error: assignment to GdkWindow {aka struct _GdkWindow } from incompatible pointer type GObject {aka struct _GObject } [-Wincompatible-pointer-types]

Much of the code changes are borrowed from older code segments.

First reported on Gentoo linux, for more reference please bug:
https://bugs.gentoo.org/928492

Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant