From b00b21242ae96aeb5521252bf0cdece5be0047a1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 2 Feb 2016 21:42:45 +0100 Subject: Temporary pragma to have GCC quiet down about deprecated functions Future commits will change our use to newer functions and the pragmas will go away at that time. Reviewed-by: Kurt Roeckx --- crypto/bio/bss_conn.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/bio/bss_conn.c') diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index 2308ad210f..89ab910f73 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -63,6 +63,12 @@ #ifndef OPENSSL_NO_SOCK +/* + * We are currently using deprecated functions here, and GCC warns + * us about them, but since we know, we don't want to hear it. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + # if (defined(OPENSSL_SYS_VMS) && __VMS_VER < 70000000) /* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ # undef FIONBIO -- cgit v1.2.3