On 4/20/2026 4:54 AM, Jonathan Gruber wrote:
If one builds LuaMetaTeX without optimization (by commenting out or deleting the 
automatically added optimization options), one encounters "undefined reference" 
linking errors:

i'm not sure what the benefit of that is .. if i had a faster machine link time optimization would also be enabled by default (gains some 3-5 percent runtime)

'FASTFLOOR' is a non-static inline function defined and only occurring in 
'source/luarest/lmteffectslib.c', and 'tex_aux_set_math_option' is a non-static 
inline function defined and only occurring in 'source/tex/texmath.c' (file 
paths relative to the root of the LuaMetaTeX repository). Since each of these 
functions occurs only in the file in which it is defined, both may be made 
static inline instead of only inline, which in fact eliminates the linking 
errors.

ok, done (here, no push yet)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to