Re: GTK2 GdkNativeWindow compilation errors
Lance Dillon <[email protected]> Thu, 17 Apr 2025 19:26:19 +0000 (UTC)
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_3027554_263720212.1744917979882 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I could test Yahoo Mail: Search, Organize, Conquer=20 =20 On Thu, Apr 17, 2025 at 15:18, H. William Welliver<[email protected]> = wrote: I compiled pike on a system that has a version of GTK2 that includ= es a typedef for GdkNativeWindow that the GTK2 code doesn=E2=80=99t specifi= cally address. The compiler (a recent clang) errors on these implicit casts= to and from GdkNativeWindow (which I believe resolves to a platform depend= ent pointer) and integers that the pike glue deals with. I was able to solv= e the errors but wanted to get some feedback before I commit it, as I get t= he 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 th= ey cause problems elsewhere? Or should I commit a best-guess fix and wait t= o see how pikefarm reacts? Bill =20 ------=_Part_3027554_263720212.1744917979882 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I could test<br><br><div id=3D"ymail_android_signature"><a id=3D"ymail_andr= oid_signature_link" href=3D"https://mail.onelink.me/107872968?pid=3Dnativep= lacement&c=3DUS_Acquisition_YMktg_315_SearchOrgConquer_EmailSignature&a= mp;af_sub1=3DAcquisition&af_sub2=3DUS_YMktg&af_sub3=3D&af_sub4= =3D100002039&af_sub5=3DC01_Email_Static_&af_ios_store_cpp=3D0c38e4b= 0-a27e-40f9-a211-f4e2de32ab91&af_android_url=3Dhttps://play.google.com/= store/apps/details?id=3Dcom.yahoo.mobile.client.android.mail&listing=3D= search_organize_conquer">Yahoo Mail: Search, Organize, Conquer</a></div> <b= r> <blockquote style=3D"margin: 0 0 20px 0;"> <div style=3D"font-family:Rob= oto, sans-serif; color:#6D00F6;"> <div>On Thu, Apr 17, 2025 at 15:18, H. Wi= lliam Welliver</div><div><[email protected]> wrote:</div> </div> <= div style=3D"padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px s= olid #6D00F6;"> <div dir=3D"ltr">I compiled pike on a system that has a ver= sion 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 resol= ves 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 ad= ded somewhere along the way, so there probably may need to be some configur= e glue added. Is anyone using the GTK2 module that might be able to test th= ese changes to see if they cause problems elsewhere? Or should I commit a b= est-guess fix and wait to see how pikefarm reacts?<br></div><div dir=3D"ltr= "><br></div><div dir=3D"ltr">Bill<br></div> </div> </blockquote> ------=_Part_3027554_263720212.1744917979882--