From 3bee1da46b18a6b5b9a25dbb266be2ee5972e80d Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 10 Mar 2012 18:27:08 +0100 Subject: [PATCH] suppress error when building with -Werror This is in windows headers--nothing we can do. --- connectivity/source/drivers/ado/AKeys.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 #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;