Skip to content

Warnings when compiling on Debian 13 (Trixie)

For the record:

gtmcrypt_ref.c: In function 'gtmcrypt_init':
gtmcrypt_ref.c:85:9: warning: 'gcry_set_log_handler' is deprecated [-Wdeprecated-declarations]
   85 |         gcry_set_log_handler(gtm_gcry_log_handler, NULL);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from gtmcrypt_ref.h:21,
                 from gtmcrypt_ref.c:37:
/usr/include/gcrypt.h:2025:6: note: declared here
 2025 | void gcry_set_log_handler (gcry_handler_log_t f,
      |      ^~~~~~~~~~~~~~~~~~~~