Wireshark-bugs: [Wireshark-bugs] [Bug 6489] -Werror doesn't work with libgcrypt 1.5.0
Date: Thu, 06 Feb 2014 19:31:18 +0000

changed bug 6489

What Removed Added
Status RESOLVED UNCONFIRMED
Resolution FIXED ---
Ever confirmed 1  

Comment # 14 on bug 6489 from
I thought this was fixed a long time ago, but I've been getting the warnings
and it appears the revisions only stopped it from being an actual error - it
still warns.

The changes should have used:
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
instead of:
#pragma clang diagnostic warning "-Wdeprecated-declarations"


In file included from ../wsutil/wsgcrypt.h:63:
/opt/local/include/gcrypt.h:1353:2: warning: 'gcry_ac_data_read_cb_t' is
deprecated [-Wdeprecated-declarations]
        gcry_ac_data_read_cb_t cb;
        ^
/opt/local/include/gcrypt.h:1318:23: note: 'gcry_ac_data_read_cb_t' declared
here
typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
                      ^
/opt/local/include/gcrypt.h:1367:2: warning: 'gcry_ac_data_write_cb_t' is
deprecated [-Wdeprecated-declarations]
        gcry_ac_data_write_cb_t cb;
        ^
/opt/local/include/gcrypt.h:1323:23: note: 'gcry_ac_data_write_cb_t' declared
here
typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
                      ^
/opt/local/include/gcrypt.h:1402:3: warning: 'gcry_md_algo_t' is deprecated
[-Wdeprecated-declarations]
  gcry_md_algo_t md;
  ^
/opt/local/include/gcrypt.h:1396:28: note: 'gcry_md_algo_t' declared here
typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
                           ^
/opt/local/include/gcrypt.h:1410:3: warning: 'gcry_md_algo_t' is deprecated
[-Wdeprecated-declarations]
  gcry_md_algo_t md;
  ^
/opt/local/include/gcrypt.h:1396:28: note: 'gcry_md_algo_t' declared here
typedef enum gcry_md_algos gcry_md_algo_t _GCRY_ATTR_INTERNAL;
                           ^


You are receiving this mail because:
  • You are watching all bug changes.