On Fri, Aug 15, 2025 at 05:16:55PM +0200, joerg van den hoff wrote:
> just downloaded the source from https://invisible-island.net/vile/ and tried
> to build on OSX 15.4.1. build fails with the message:

you might be using

https://invisible-island.net/datafiles/release/vile.tar.gz

which is kind of old -

https://invisible-island.net/datafiles/current/vile.tar.gz

...is currently 9.8za

https://github.com/macports/macports-ports/blob/master/editors/vile/Portfile
https://github.com/Homebrew/homebrew-core/blob/master/Formula/v/vile.rb
          https://invisible-island.net/archives/vile/current/vile-9.8za.tgz

> 
> echo "#include <flt_defs.h>" > spellflt.c
> flex -t spellflt.l >> spellflt.c
> gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H   -D_DARWIN_C_SOURCE -g -O2 
>  spellflt.c
> spellflt.l:137:19: error: call to undeclared function 'umask'; ISO C99 and
> later do not support implicit function declarations
> [-Wimplicit-function-declaration]
>   137 |     int oldmask = umask(0077);
>       |                   ^
> spellflt.l:138:20: warning: 'tmpnam' is deprecated: This function is

current source uses mkstemp, when available :-)

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to