GTK2 GdkNativeWindow compilation errors
"H. William Welliver" <[email protected]> Thu, 17 Apr 2025 15:17:39 -0400
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
I compiled pike on a system that has a version of GTK2 that includes a = typedef for GdkNativeWindow that the GTK2 code doesn=E2=80=99t = specifically address. The compiler (a recent clang) errors on these = implicit casts to and from GdkNativeWindow (which I believe resolves to = a platform dependent pointer) and integers that the pike glue deals = with. I was able to solve the errors but wanted to get some feedback = before I commit it, as I get the impression that GdkNativeWindow was = something added somewhere along the way, so there probably may need to = be some configure glue added. Is anyone using the GTK2 module that might = be able to test these changes to see if they cause problems elsewhere? = Or should I commit a best-guess fix and wait to see how pikefarm reacts? Bill=