summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-14 16:03:08 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-14 16:03:33 +0300
commit0d4c44bb9a9283778abd4be52c44b76bcf6a068c (patch)
tree4d5d667b7a41abb4d82f85fdbc3f52c9e585f6ee
parent13cdf1c43f8e02a6e19d902a355c87323d122cb6 (diff)
GCC/Clang pragma dance
Change-Id: I42f9f45bffbbc74784eb78580a5b927aa3d3ffd7
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 2d13c1e068df..dfb21e0bb6bb 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -142,11 +142,13 @@ TextConversion_ko::getCharConversions(const OUString& aText, sal_Int32 nStartPos
#else
#ifdef LIBO_WERROR
#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpragmas"
+#ifdef __clang__
#pragma GCC diagnostic warning "-Wbool-conversions"
+#else
#pragma GCC diagnostic warning "-Waddress"
#endif
#endif
+#endif
if (toHanja && getHangul2HanjaIndex && getHangul2HanjaIndexCount && getHangul2HanjaData) {
ch = aText[nStartPos];
const Hangul_Index *Hangul_ko = getHangul2HanjaIndex();