Skip to content

Conversation

@qmfrederik
Copy link
Contributor

This class is shared between the StandardPicker bundle and the WheelPicker bundles. Exposing a class with the same name in two separate bundles results in undefined behavior. Move this class to a shared module (libs-gui in this case) to resolve that.

This class is shared between the StandardPicker bundle and the WheelPicker bundles.  Exposing a class with the same name in two separate bundles results in undefined behavior.  Move this class to a shared module (libs-gui in this case) to resolve that.
@qmfrederik
Copy link
Contributor Author

@fredkiefer This fixes an issue when using libs-gui with libobjc2, see gnustep/libobjc2#318 for more details.

Copy link
Member

@fredkiefer fredkiefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this change. But if having the same class name twice also doesn't work on Apple, we need to avoid that situation.

@fredkiefer fredkiefer merged commit 68e2716 into gnustep:master Nov 19, 2024
3 checks passed
qmfrederik added a commit to qmfrederik/libs-gui that referenced this pull request Nov 19, 2024
This class is shared between the StandardPicker bundle and the WheelPicker bundles.  Exposing a class with the same name in two separate bundles results in undefined behavior.  Move this class to a shared module (libs-gui in this case) to resolve that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants