summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-10 18:27:08 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:52 +0100
commit3bee1da46b18a6b5b9a25dbb266be2ee5972e80d (patch)
tree35b02a5a357119628dfb3b6df431dd87c03d7b2d /connectivity
parent02536846f2a8c23fd95a7d9a8b11b9208006528d (diff)
suppress error when building with -Werror
This is in windows headers--nothing we can do.
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/AKeys.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/ado/AKeys.cxx b/connectivity/source/drivers/ado/AKeys.cxx
index d02d7356be5b..737ec3817c98 100644
--- a/connectivity/source/drivers/ado/AKeys.cxx
+++ b/connectivity/source/drivers/ado/AKeys.cxx
@@ -39,6 +39,10 @@
#include <connectivity/dbexception.hxx>
#include "resource/ado_res.hrc"
+#if defined __MINGW32__
+#pragma GCC diagnostic warning "-Wwrite-strings"
+#endif
+
using namespace ::comphelper;
using namespace connectivity;
using namespace connectivity::ado;