Hello Waldek,
after the latest updates to the poplog sources I get a compilation
error:
,----
| pop/x/Xpw/Text.c: In function ‘XpwGetSelection’:
| pop/x/Xpw/Text.c:3006:50: error: passing argument 4 of ‘XtGetSelectionValue’
from incompatible pointer type [-Wincompatible-pointer-types]
| 3006 | XtGetSelectionValue(w, selection, XA_STRING, SelectionCB, clos,
time);
| | ^~~~~~~~~~~
| | |
| | void (*)(struct
_WidgetRec *, closure *, Atom *, Atom *, void *, long unsigned int *, int *)
{aka void (*)(struct _WidgetRec *, closure *, long unsigned int *, long
unsigned int *, void *, long
unsigned int *, int *)}
| In file included from /usr/include/X11/IntrinsicP.h:51,
| from pop/x/Xpw/Text.c:13:
| /usr/include/X11/Intrinsic.h:2057:5: note: expected ‘XtSelectionCallbackProc’
{aka ‘void (*)(struct _WidgetRec *, void *, long unsigned int *, long unsigned
int *, void *, long unsigned int *, int *)’} but argument is of type ‘void
(*)(struct
_WidgetRec *, closure *, Atom *, Atom *, void *, long unsigned int *, int *)’
{aka ‘void (*)(struct _WidgetRec *, closure *, long unsigned int *, long
unsigned int *, void *, long unsigned int *, int *)’}
| 2057 | XtSelectionCallbackProc /* callback */,
| | ^~~~~~~~~~~~~~~~~~~~~~~
`----
Unfortunately I am not well versed in X11 programming, so I'm at a loss
how to rectify this without causing further problems.
I hope you can find a quick solution to this type mismatch problem.
Thanks for your work with poplog,
Andreas Eder
--
ceterum censeo redmondinem esse delendam