On 15 Nov 2024, at 04:54, Tatsuki Makino <tatsuki_mak...@hotmail.com> wrote: > > Hello. > > It seems that it is mandatory to use llvm17 or higher to build gnutls 3.8.8. > If not, the following error cannot be resolved. Changing -std=c11 is > powerless. > > groups.c:93:2: error: initializer element is not a compile-time constant > group_x25519, > ^~~~~~~~~~~~ > > If you are still stuck with the old version, make a modification that uses 17 > or higher of clang 🤣
When you must use an old version, you could add this as a patch for groups.c. It could be conditionalized on COMPILER_VERSION < 17. -Dimitry
patch-lib_algorithms_groups.c
Description: Binary data