On Thu, 1 Jan 2026 at 05:06, Scott <[email protected]> wrote:

> It doesn't build on arch anymore, looks like some DND type of issue.  I
> really appreciate people keeping CDE up and alive.
>
> gcc 15.2.1
>

You mention it not building any more, but with 15.2 it wouldn't have built
at all. Have you had a successful compilation on arch on a previous
compiler?



> ake[2]: Entering directory '/home/scottm/git/code/cde/lib/DtSvc'
> /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -std=c23
> -DHAVE_CONFIG_H -I. -I../../include  -I./include -DMULTIBYTE -DNLS16
> -I../include -I../../include/Dt -DCDE_INSTALLATION_TOP=\"/usr/dt\"
> -DCDE_CONFIGURATION_TOP=\"/etc/dt\"  -DOSMAJORVERSION=4 -DOSMINORVERSION=15
>     -DANSICPP -DMULTIBYTE -DNLS16 -D_POSIX_SOURCE -D_DEFAULT_SOURCE
> -D_BSD_SOURCE -D_SVID_SOURCE -DUSE_XINERAMA -DUSE_XRENDER -DHAS_PAM_LIBRARY
> -DHAS_UTEMPTER_LIBRARY   -g -O2 -DOPT_TIRPC -I/usr/include/tirpc
> -Wno-unused-result -Wno-write-strings -fno-strict-aliasing
> -Wno-format-truncation        -pthread -MT DtUtil1/libDtSvc_la-DndDrag.lo
> -MD -MP -MF DtUtil1/.deps/libDtSvc_la-DndDrag.Tpo -c -o
> DtUtil1/libDtSvc_la-DndDrag.lo `test -f 'DtUtil1/DndDrag.c' || echo
> './'`DtUtil1/DndDrag.c
> libtool: compile:  gcc -std=c23 -DHAVE_CONFIG_H -I. -I../../include
> -I./include -DMULTIBYTE -DNLS16 -I../include -I../../include/Dt
> -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/etc/dt\"
> -DOSMAJORVERSION=4 -DOSMINORVERSION=15 -DANSICPP -DMULTIBYTE -DNLS16
> -D_POSIX_SOURCE -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
> -DUSE_XINERAMA -DUSE_XRENDER -DHAS_PAM_LIBRARY -DHAS_UTEMPTER_LIBRARY -g
> -O2 -DOPT_TIRPC -I/usr/include/tirpc -Wno-unused-result -Wno-write-strings
> -fno-strict-aliasing -Wno-format-truncation -pthread -MT
> DtUtil1/libDtSvc_la-DndDrag.lo -MD -MP -MF
> DtUtil1/.deps/libDtSvc_la-DndDrag.Tpo -c DtUtil1/DndDrag.c  -fPIC -DPIC -o
> DtUtil1/.libs/libDtSvc_la-DndDrag.o
> I
>
>
> *n file included from /usr/local/include/Xm/DragCP.h:26,
>  from DtUtil1/DndDrag.c:61:/usr/include/X11/ShellP.h:87:5: error: unknown
> type name 'XtGeometryHandler'   87 |     XtGeometryHandler
> root_geometry_manager;*
>       |     ^~~~~~~~~~~~~~~~~
>

I've not got an Arch install, but locally here XtGeometryHandler is defined
in /usr/include/X11/IntrinsicP.h

Could you try editing cde/lib/DtSvc/DtUtil1/DndDrag.c
on line 57, after

#include <stdarg.h>

could you insert the line

#include <X11/IntrinsicP.h>

and see if the build progresses further?

I think I'm likely to merge in the C23 changes regardless, as there's not a
lot of people screaming at me not too :)

Peter

-- 
[email protected]
http://www.marutan.net
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to