diff options
Diffstat (limited to 'mysqlc/source/mysqlc_general.hxx')
-rw-r--r-- | mysqlc/source/mysqlc_general.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/sdbc/SQLException.hpp> +#if defined __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#endif #include <cppconn/exception.h> +#if defined __GNUC__ +#pragma GCC diagnostic pop +#endif namespace mysqlc_sdbc_driver { |