diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | plugingui/utf8.cc | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index d437b0f..722f0b1 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,7 @@ dnl Set up debug compile args if the user requested it dnl =========================== AS_IF([test "x$with_debug" == "xyes"], [AC_MSG_WARN([*** Building with debug support!]) - CXXFLAGS="$CXXFLAGS -Wall -Werror -g $NO_UNDEFINED_PARAM" + CXXFLAGS="$CXXFLAGS -Wall -Werror -Wno-invalid-source-encoding -g $NO_UNDEFINED_PARAM" HUGIN_PARM=""] ) diff --git a/plugingui/utf8.cc b/plugingui/utf8.cc index 770d115..a14fd43 100644 --- a/plugingui/utf8.cc +++ b/plugingui/utf8.cc @@ -26,9 +26,6 @@ */ #include "utf8.h" -// Disable clang encoding warnings for creation of this map. -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Winvalid-source-encoding" UTF8::UTF8() { // Encode Map @@ -293,7 +290,6 @@ UTF8::UTF8() // FIXME: This is just a hack to make Goran Mekic's name work. map_decode["Ä\x87"] = "c"; } -#pragma clang diagnostic pop std::string UTF8::fromLatin1(std::string const& s) { |