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;