[gnutls-devel] GnuTLS | error: initializer element is not a compile-time constant (#1604)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Nov 10 13:48:18 CET 2024




Ryan Carsten Schmidt commented: https://gitlab.com/gnutls/gnutls/-/issues/1604#note_2202542748


We had build failure on macOS 14 with Apple clang version 15.0.0 (clang-1500.3.9.4) from Xcode 15.4 (which is based on llvm 16.0.0) and earlier, and build success on macOS 15 with Apple clang version 16.0.0 (clang-1600.0.26.3) from Xcode 16.0 (which is based on llvm 17.0.6).

So yes, I suspect using llvm.org clang 17 or later would work. But clang 17 is pretty new; it was released September 2023. Requiring it may cause problems for some users whose distributions do not have a compiler that new.

Does gnutls have a documented C language version or set of compiler features that it aims to remain compatible with? I didn't find it in the documentation and all I found in the configure script was a check for C99. Increasing the requirement from C99 to clang 17 would be drastic, especially in a bugfix release.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1604#note_2202542748
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20241110/6b77b2be/attachment.html>


More information about the Gnutls-devel mailing list