I have my own tree that tracks this project, and I collected a bunch of changes that might be of more general interest.
Everything from trailing new lines, "bool" not being freely available anymore in C23, a bona fide bug, passing an int where a pointer to an int was sought, the dtmail project files weren't updated when source files were removed, lots of changes around prototypes because C23 became much more strict about things.
These are some great fixes I'd like to merge - but after the third one failed I gave up. I think they were made with an older version.
Can you re-base these on current master so that they will apply cleanly? I'd gladly merge them.
Awaiting new patches based on current master.
To avoid patch explosion if this needs more rounds, I'm sending the entire set as a git bundle now.
Since they're a somewhat obscure feature, a short tutorial: download the file, in your CDE tree run
git fetch path-to.gitbundle for-upstreamand you'll have my "for-upstream" branch (that I created on top of current master) as your local branch "FETCH_HEAD".The branch gained a few more bugfixes, too.
Took a little investigating (never used git bundles before). But was able to get it in. A did a test build on Ubuntu 22.04 (gcc 11) and it failed:
and...
and several warnings of the form
Not sure what it would do on other systems like FreeBSD - I no longer have the "build farm" running. But if you have fixes, I would love to get these in - great work.
Updated bundle. It contains another commit to fix the NormalState/LabelBody issue and I extended another commit about bool handling to include stdbool.h - required with clang19.
Still lots to do until everything builds with modern compilers, but making progress.
I now set up a system with an older compiler to work on these things more incrementially and with much better testing. I'll create a new ticket once I have a verified patch set, please close this.
I'm running CDE built with gcc14 and the attached patches. It doesn't contain everything I have in that more comprehensive patch set, but on the upside: it builds and runs.
Sorry for the mess with the unclean patch set!
Last edit: Patrick Georgi 2025-12-19
Hi, I was able to build this one without problems, thanks! Will merge this one. Did you still want me to close this ticket?