Kaydet (Commit) f6698138 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence GCC 7 warnings in cppconn/exception.h

Change-Id: Ia924473d3dba11babee23f4137c645b9f8d86a8b
üst b48f97a2
...@@ -25,7 +25,14 @@ ...@@ -25,7 +25,14 @@
#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/sdbc/SQLException.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> #include <cppconn/exception.h>
#if defined __GNUC__
#pragma GCC diagnostic pop
#endif
namespace mysqlc_sdbc_driver namespace mysqlc_sdbc_driver
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment