summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:24:56 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:24:56 +0100
commit7b56849be41fdd342c8d92c243df6370a53c8305 (patch)
tree47621c380edfd8adc779caab5d961868be78526c /libmysqlpp/my-connection.h
parentReplace straggling typedef (diff)
downloadlibdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.tar.bz2
libdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.tar.xz
libdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.zip
Add JT recommended warnings
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r--libmysqlpp/my-connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h
index 184dafe..f0edacc 100644
--- a/libmysqlpp/my-connection.h
+++ b/libmysqlpp/my-connection.h
@@ -4,7 +4,10 @@
#include "my-error.h"
#include <connection.h>
#include <memory>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <mysql.h>
+#pragma GCC diagnostic pop
namespace MySQL {
class ConnectionError : public virtual Error, public virtual DB::ConnectionError {