-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
code-cleanupCode refactoringsCode refactorings
Description
Describe the feature
The current code in hw/xquartz uses non-portable clang syntax, in particular Apple blocks. Blocks are no supported in gcc, so existing code cannot be compiled with gcc.
It should be implemented because
That will improve portability (clang is broken on powerpc) and allow testing with two major compilers and not just one.
What are the alternatives?
None, really, unless someone adds support of Apple-specific syntax into gcc.
Additional context
Xserver is especially important on older macOS, where anything modern that has GUI needs to use GTK, which in turn requires X11.
P. S. This is probably not something I can do by myself, but I am willing to contribute to this, and can do testing on the actual hardware.
Extra fields
- I have checked the existing issues
- I have read the Contributing Guidelines
- I'd like to work on this issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code-cleanupCode refactoringsCode refactorings