Skip to content

Conversation

@ashpil
Copy link

@ashpil ashpil commented Jun 10, 2025

Fixes this on my machine:

/home/andrei/Projects/glfw/src/xkb_unicode.c:939:12: error: use of undeclared identifier 'GLFW_INVALID_CODEPOINT'
    return GLFW_INVALID_CODEPOINT;

I imagine I'm running into this (but others/CI is not) because I'm hand-rolling my own build system for this rather than using the provided CMake one. Nonetheless, this seems like a valid change, as Wayland also requires xkb_common.h.

@ashpil ashpil requested a review from elmindreda as a code owner June 10, 2025 06:18
@dougbinks dougbinks requested review from dougbinks and removed request for elmindreda June 11, 2025 13:33
@dougbinks
Copy link
Contributor

The Wayland platform no longer uses xkb_unicode as of 21fea01

You can see that the include was removed from wl_platform.h and the source removed from the build then.

So I would undo this change and remove xkb_unicode.c from your hand-rolled build.

@ashpil
Copy link
Author

ashpil commented Jun 12, 2025

Oops, my bad. Should've noticed this.

Thanks for the quick response!

@ashpil ashpil closed this Jun 12, 2025
@elmindreda elmindreda added this to the None milestone Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants