Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly cast to a pointer in wayland builds #17019

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

pastalian
Copy link
Contributor

@pastalian pastalian commented Sep 20, 2024

Description

The build with --enable-wayland --disable-kms on linux has a part where an unsigned long is passed as a void*, but GCC 14 enforces -Werror=int-conversion, causing the build to fail.
https://gcc.gnu.org/gcc-14/porting_to.html#int-conversion

The build with --enable-kms does not fail because EGLNativeWindowType is defined as void*.

Downstream bug: https://bugs.gentoo.org/936962

The build with `--enable-wayland --disable-kms` has a part where an
unsigned long is passed as a void*, but GCC 14 enforces
-Werror=int-conversion, causing the build to fail.
https://gcc.gnu.org/gcc-14/porting_to.html#int-conversion
@LibretroAdmin LibretroAdmin merged commit 4ce7dd6 into libretro:master Sep 20, 2024
27 checks passed
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.

2 participants