diff --git a/BUILD.gn b/BUILD.gn index 46bbcdff..7f203c12 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -133,7 +133,7 @@ ohos_source_set("soup_dynamic") { ohos_shared_library("libohossoup") { deps = [ ":soup_dynamic", - "//third_party/gettext:libintl", + "//third_party/gettext:libgettext", "//third_party/glib:gio", "//third_party/glib:glib", "//third_party/glib:gobject", diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c index 76aab321..aaf268d8 100644 --- a/libsoup/soup-content-sniffer.c +++ b/libsoup/soup-content-sniffer.c @@ -638,7 +638,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer) goto text_html; /* Skip a leading UTF-8 BOM */ - // x86_64 -Wtautological-constant-out-of-range-compare + // ohos.opt.compat.2001 x86_64 -Wtautological-constant-out-of-range-compare #ifdef OHOS_OPT_COMPAT if (resource[0] == (char)0xEF && resource[1] == (char)0xBB && resource[2] == (char)0xBF) pos = 3;