Wireshark-dev: Re: [Wireshark-dev] gcrypt.h warnings: '...' is deprecated

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
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.