[Libreoffice-commits] .: i18npool/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 14 04:08:28 PDT 2012


 i18npool/source/textconversion/textconversion_ko.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0fb18d82742f704017768d342180e0bb2943c3aa
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Sep 14 13:45:17 2012 +0300

    It seems gcc has -Waddress where Clang has -Wbool-conversions
    
    Change-Id: Ic5ddaf436592c1112cb9b3a1b36d2026caddf368

diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 334de83..2d13c1e 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -142,7 +142,9 @@ TextConversion_ko::getCharConversions(const OUString& aText, sal_Int32 nStartPos
 #else
 #ifdef LIBO_WERROR
 #pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpragmas"
 #pragma GCC diagnostic warning "-Wbool-conversions"
+#pragma GCC diagnostic warning "-Waddress"
 #endif
 #endif
     if (toHanja && getHangul2HanjaIndex && getHangul2HanjaIndexCount && getHangul2HanjaData) {


More information about the Libreoffice-commits mailing list