Wireshark mailing list archives
Re: libgcrypt 1.5.0 compiler warnings
From: Martin Kaiser <lists () kaiser cx>
Date: Thu, 21 Feb 2013 19:44:48 +0100
Hi, Thus wrote Gerald Combs (gerald () wireshark org):
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 ___________________________________________________________________________ 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:
- libgcrypt 1.5.0 compiler warnings Martin Kaiser (Feb 21)
- Re: libgcrypt 1.5.0 compiler warnings Pascal Quantin (Feb 21)
- Re: libgcrypt 1.5.0 compiler warnings Gerald Combs (Feb 21)
- Re: libgcrypt 1.5.0 compiler warnings Martin Kaiser (Feb 21)