From 7a2ceb3191a6a304a883548f6a1bddb8a75b1deb Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 20 Feb 2009 23:35:45 -0300 Subject: [PATCH] Disable a UTF-8 warning per default --- giscanner/scannerparser.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/giscanner/scannerparser.y b/giscanner/scannerparser.y index b2ce2cd9..85640fec 100644 --- a/giscanner/scannerparser.y +++ b/giscanner/scannerparser.y @@ -185,7 +185,9 @@ strings $$->const_string = g_strcompress (yytext + 1); if (!g_utf8_validate ($$->const_string, -1, NULL)) { +#if 0 g_warning ("Ignoring non-UTF-8 constant string \"%s\"", yytext + 1); +#endif g_free($$->const_string); $$->const_string = NULL; } -- 2.34.1