On Thu, 28 Aug 2025 at 21:22, Patrick Gundlach <patr...@gundla.ch> wrote:
> > > > https://github.com/speedata/luatex/tree/subset-luaharfbuzz > > > > (my code which uses this LuaTeX variant makes a full subset of a > variable font with certain axis fixed, so this is working code but still > not fully integrated in LuaTeX) > > > > > > hm, perhaps it's better if we update the luatex luaharfbuzz to the > > https://github.com/harfbuzz/luaharfbuzz > > (it should be harmless apart the standard luajit #ifdef) > > > done. > > I have used the luaharbuzz code + my patches + the luajittex #ifdefs. It > compiles on my machine, therefore it must be 100% correct :-) > Ok. Now I need to fix luatex to compile correctly with C23, the syntax has changed a bit eg ../../../source/texk/web2c/luatexdir/unilib/ustring.c:399:19: error: conflicting types for ‘strtod’; have ‘double(void)’ 399 | extern double strtod(); /* Please don't delete this, not all of us have good ansi headers */ | I am using gcc-15.2.0 (you need to compile from source) and the latest clang from here https://github.com/llvm/llvm-project/releases (it has the binaries already compiled, at least for my linux box) To speed up the compilation, the CFLAGS I use are -std=gnu23 -Wall -Wextra -Wpedantic -O0 -g -ggdb3 -pipe . Note that it's -std=gnu23 and not -std=c23, we need several "extra" standard functions. One can always use -std=gnu17 to use the (gnu dialect of) C17, as it was until now. -- luigi
_______________________________________________ dev-luatex mailing list -- dev-luatex@ntg.nl To unsubscribe send an email to dev-luatex-le...@ntg.nl