Il giorno mer 2 nov 2022 alle 00:12:07 +0100, Jean Abou Samra <j...@abou-samra.fr> ha scritto:
Your patch to Guile disables recompilation with a "return 1;"
at the end of the function but keeps the logic of the check and
the messages. Just additionally remove the code just above the line
it's touching, or add "return 1;" at the beginning of the function
rather than at the end.

I tried removing the whole function, but it's used later, as I got this error:

https://github.com/flathub/org.frescobaldi.Frescobaldi/pull/17

/usr/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: ./.libs/libguile-2.2.so: undefined reference to `compiled_is_fresh'

$ git grep -n compiled_is_fresh
libguile/load.c:550:compiled_is_fresh (SCM full_filename, SCM compiled_filename,
libguile/load.c:749: !compiled_is_fresh (source_file_name, found,
libguile/load.c:1221: && compiled_is_fresh (full_filename, fallback,

So I'd better use "return 1;" at the beginning of the function? Where exactly? After the opening "{"?

Thanks
Federico



Reply via email to