Subj : Re: Need volonteers to test another patch
To   : Vitaliy Aksyonov
From : Wilfred van Velzen
Date : Thu Feb 29 2024 08:59 am

Hi Vitaliy,

On 28 Feb 24 11:03, Vitaliy Aksyonov wrote to Wilfred van Velzen:
 about: "Re: Need volonteers to test another patch":

WvV>> I didn't mention this before, but there are some linker warnings:

WvV>> ../goldlib/uulib/libuulib.a(uunconc.cpp.o): In function
WvV>> `UUDecode(_uulist*)': uunconc.cpp:(.text+0x34e2): warning: the use of
WvV>> `tempnam' is dangerous, better use
WvV>> `mkstemp' CMakeFiles/golded.dir/gedoit.cpp.o: In function
WvV>> `WriteMsgs(GMsg*)': gedoit.cpp:(.text+0xa51): warning: the use of
WvV>> `mktemp' is dangerous, better use `mkstemp'

WvV>> They should be easy to address.

VA> I've seen those. I'm not sure that mkstemp is available in all systems
VA> GoldEd is possible to build.

mkstemp() is: 4.3BSD, POSIX.1-2001

If not available you could make your own from mktemp() and open() I suppose. I could find atleast 1 example on the net...


Wilfred.

--- FMail-W64 2.2.0.0
* Origin:  point@work  (2:280/464.112)