summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-03 10:30:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-03 11:15:56 +0100
commit9a5f4019e22af6a1bf3e9ed5cece59ef51307eaf (patch)
tree2bbc6cd9879535baec3ab423229ed9ce1d378a6b /external
parentc2c9e3969c0421bdbb71d314af928260e1ba4fb4 (diff)
-Wunused-parameter (when included from mysqlc/source/)
Change-Id: I4889864a3db2090c687c32e11d4d28c3dda63eb0
Diffstat (limited to 'external')
-rw-r--r--external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk1
-rw-r--r--external/mysqlcppconn/patches/warnings.patch.011
2 files changed, 12 insertions, 0 deletions
diff --git a/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk b/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
index dd2b98e654fa..ddcb5221e753 100644
--- a/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
+++ b/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,mysqlcppconn,\
external/mysqlcppconn/patches/mysql-connector-c++-1.1.0.patch \
external/mysqlcppconn/patches/default_to_protocol_tcp.patch \
external/mysqlcppconn/patches/retrieve_grants.patch.1 \
+ external/mysqlcppconn/patches/warnings.patch.0 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/mysqlcppconn/patches/warnings.patch.0 b/external/mysqlcppconn/patches/warnings.patch.0
new file mode 100644
index 000000000000..2cda42d86398
--- /dev/null
+++ b/external/mysqlcppconn/patches/warnings.patch.0
@@ -0,0 +1,11 @@
+--- cppconn/warning.h
++++ cppconn/warning.h
+@@ -59,7 +59,7 @@
+
+ virtual ~SQLWarning(){};
+
+- SQLWarning(const SQLWarning& e){};
++ SQLWarning(const SQLWarning&){};
+
+ private:
+ const SQLWarning & operator = (const SQLWarning & rhs);