Wireshark mailing list archives
Re: gcrypt.h warnings: '...' is deprecated
From: Stephen Fisher <steve () stephen-fisher com>
Date: Wed, 13 Jul 2011 12:13:20 -0600
On Wed, Jul 13, 2011 at 12:03:06PM -0600, Stephen Fisher wrote:
This is happening simply by including gcrypt.h, so I e-mailed the gcrypt-devel mailing list and am awaiting a response:
Since we compile with -Werror, a workaround to fix Wireshark compilation is to add "#define _GCRYPT_IN_LIBGCRYPT 1 " before every include of gcrypt.h to convince the macros in gcrypt.h that it's being compiled with libgcrypt and that "using" deprecated functions is ok. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 12)
- Re: gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 13)
- Re: gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 13)
- Re: gcrypt.h warnings: '...' is deprecated Stig Bjørlykke (Jul 13)
- Re: gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 13)
- Re: gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 13)
- Re: gcrypt.h warnings: '...' is deprecated Stephen Fisher (Jul 13)