Hi,
Thus wrote Gerald Combs (gerald@xxxxxxxxxxxxx):
> On 2/21/13 12:47 AM, Martin Kaiser wrote:
> > If that's too error-prone as people may include gcrypt.h elsewhere in
> > the future and forget to add the pragmas, we could have a wrapper
> > include file (epan/crypt/ws-libgcrypt.h ?) with the 4 lines above and
> > include that instead of gcrypt.h.
> Sounds good to me. I've been working around the issue with
> CFLAGS="-D_GCRYPT_IN_LIBGCRYPT=1" but it would be nice if we could
> compile out of the box.
I just comitted a slightly modified version of this in r47801-47803
It turned out that not all gcc versions support the pragmas we need.
Please let me know if I broke anything.
Best regards,
Martin