Subj : Re: GoldED+ Unicode edition To : Vincent Coen From : Eugene Subbotin Date : Fri Sep 04 2026 09:46 pm Hello Vincent! Friday September 04 2026 17:28, you wrote to me: VC> Nope but a lot less : VC> /usr/bin/ld: ../goldlib/uulib/libuulib.a(uunconc.cpp.o): in function VC> `UUDecode(_uulist*)': VC> uunconc.cpp:(.text+0x3592): warning: the use of `tempnam' is VC> dangerous, better use `mkstemp' /usr/bin/ld: VC> CMakeFiles/golded.dir/gedoit.cpp.o: in VC> function `WriteMsgs(GMsg*)': gedoit.cpp:(.text+0xa4f): warning: the VC> use of `mktemp' is dangerous, better use `mkstemp' or VC> `mkdtemp' /usr/bin/ld: ../goldlib/gall/libgall.a(gfilutl1.cpp.o): in VC> function `TestLockPath(char const*)': gfilutl1.cpp:(.text+0x84d): VC> warning: the use of `mktemp' is dangerous, better use `mkstemp' or VC> `mkdtemp' /usr/bin/ld: ../goldlib/gall/libgall.a(gfilutl1.cpp.o): in VC> function `TestLockPath(char const*)': gfilutl1.cpp:(.text+0x84d): VC> warning: the use of `mktemp' is dangerous, better use `mkstemp' or VC> `mkdtemp' Nothing in what you pasted is an error; every line is a warning, and the build has succeeded. The same tree on Ubuntu with GCC 15.2 gives 1666 warnings, exit code 0 and working binaries in bin/gedlnx, bin/gnlnx, bin/rddtlnx; dist-gpl.sh also leaves ../gpl115-20260904.zip next to the source directory. If the script had failed to produce a binary it would have printed "File bin/gedlnx not exists, stop!". The warnings come from -Wall -pedantic applied by GCC 15 to code written for the compilers of 1999-2005; they are known, and none of them is a defect the compiler found. dist-gpl.sh builds with GNU make, not with CMake, so the add_compile_options(-w) line had no effect on it. The make build has its own switch: make PLATFORM=lnx GOLD_CC_WARNFLAGS=-w all strip With it the compiler is silent; what is left are four notes from the linker about mktemp/tempnam, which glibc emits at link time for any program that calls them and which no compiler flag can suppress. Your separate cmake CMakeLists.txt run, with -w, built golded3/golded, goldnode/goldnode and rddt/rddt in the source tree; either set of binaries is fine to use. Eugene .... It's full of stars! --- GoldED+/BSD 1.1.5-b20260904 (NetBSD 11.0 Intel Core Haswell) * Origin: FireFox Station (2:5075/35) .