Wireshark mailing list archives
Re: gcrypt.h warnings: '...' is deprecated
From: Stig Bjørlykke <stig () bjorlykke org>
Date: Wed, 13 Jul 2011 22:24:15 +0200
On Wed, Jul 13, 2011 at 8:13 PM, Stephen Fisher <steve () stephen-fisher com> wrote:
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.
Do we use deprecated functions? I tried defining GCRYPT_NO_DEPRECATED, but I only got fewer warnings... -- Stig Bjørlykke ___________________________________________________________________________ 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)