[gnutls-devel] GnuTLS | gnutlsxx: become header-only library (!1622)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Dec 18 01:36:43 CET 2022

Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1622#note_1213672163

I would say it still makes sense to produce a (shared) C++ library for backward ABI (not API) compatibility, though we would expect newly compile applications to use the header-only version and do not link to the C++ library. Currently we have `#ifdef GNUTLS_GNUTLSXX_HEADERONLY`, but maybe we could turn it into `#ifndef GNUTLS_GNUTLSXX_NO_HEADERONLY`, so by default the header-only version will be used (there might be other ways to do so, e.g., through a dedicated namespace, but I'm not an C++ expert :-).

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1622#note_1213672163
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/20221218/e9676871/attachment.html>

More information about the Gnutls-devel mailing list