summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-error.h')
-rw-r--r--libmysqlpp/my-error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqlpp/my-error.h b/libmysqlpp/my-error.h
index 85fff63..2dfc99b 100644
--- a/libmysqlpp/my-error.h
+++ b/libmysqlpp/my-error.h
@@ -3,7 +3,10 @@
#include <error.h>
#include <exception.h>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
#include <mysql.h>
+#pragma GCC diagnostic pop
namespace MySQL {
class Error : public AdHoc::Exception<DB::Error> {