From f6698138359e1f571aa6a464a40fb3bc85412d3a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Jan 2017 10:41:35 +0100 Subject: Silence GCC 7 warnings in cppconn/exception.h Change-Id: Ia924473d3dba11babee23f4137c645b9f8d86a8b --- mysqlc/source/mysqlc_general.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysqlc/source') diff --git a/mysqlc/source/mysqlc_general.hxx b/mysqlc/source/mysqlc_general.hxx index 1f60a1938afb..5d0b828c3e51 100644 --- a/mysqlc/source/mysqlc_general.hxx +++ b/mysqlc/source/mysqlc_general.hxx @@ -25,7 +25,14 @@ #include #include +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#endif #include +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif namespace mysqlc_sdbc_driver { -- cgit