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

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;*
      |     ^~~~~~~~~~~~~~~~~

On Wed, Dec 31, 2025 at 7:28 PM Jon Trulson <[email protected]> wrote:

> Hi,
>
> Built for me for me on ubuntu 22.04 and gcc 11.4.  Did a cursory test,
> seems to run! :)
>
> Happy New Year!
>
> -jon
> On 12/31/25 10:02, Peter Howkins wrote:
>
> As some of you may be aware a recent change in GCC has enabled the C23
> standard to be the default. CDE was refusing to build with this standard,
> mostly due to C23's insistence on proper function prototypes and
> declarations.
>
> I've gone through CDE and fixed up the many problems, there were issues in
> nearly all sub components. The changes are fairly far-reaching [1] so I've
> checked them into a branch in git 'C23-GCC15-Changes' for testing before
> merging to HEAD
>
> I've tested and confirmed it's still building and working on
>
> Linux Ubuntu 20.04 x64  GCC 9.4.0
> Linux Ubuntu 24.10 x64  GCC 14.2.0
> Linux Ubuntu 25.10 x64  GCC 15.2.0
>
> However if you are using different configurations, could you please test
> and check that it's working for you?
>
> git fetch --all
> git checkout C23-GCC15-Changes
>
>
> Peter (flibble)
>
>
> [1]
> https://sourceforge.net/p/cdesktopenv/code/ci/68cae0c36b5caccb3e00b5371f4031147154acf9/
>
> --
> Peter Howkins
> [email protected]
> https://www.marutan.net/
>
>
> _______________________________________________
> cdesktopenv-devel mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
> --
> Jon Trulson
>
>   "The less you know, the more you believe."
>                            -- Bono
>
> _______________________________________________
> cdesktopenv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to