I’m the maintainer of this C++ project:
and I’m trying to add Haiku clipboard support. However, I can’t seem to interface with be_clipboard because calling be_clipboard->Lock()
or be_clipboard->Data()
causes a segment violation somewhere in the internal library. According to the debugger, this really is happening in the system library itself. However, the built-in clipboard program has almost the same code yet doesn’t have this same error. Something that might be a factor is that the Clipboard project needs GCC 11 or newer to compile, so maybe the compiler is too new?
What can I do to fix this?