diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-18 14:24:56 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-18 14:24:56 +0100 |
commit | 7b56849be41fdd342c8d92c243df6370a53c8305 (patch) | |
tree | 47621c380edfd8adc779caab5d961868be78526c /libmysqlpp/my-connection.h | |
parent | Replace straggling typedef (diff) | |
download | libdbpp-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.h | 3 |
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 { |