diff options
author | Johan Dahlin <jdahlin@litl.com> | 2009-02-20 23:35:45 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-02-20 23:35:45 -0300 |
commit | 7a2ceb3191a6a304a883548f6a1bddb8a75b1deb (patch) | |
tree | b89287c01dabc2e0baf76fb2d4f73d92a4aeb2d7 | |
parent | 9393b6fef46c0e293e815b9999777ab6f7e83e41 (diff) | |
download | gobject-introspection-7a2ceb3191a6a304a883548f6a1bddb8a75b1deb.tar.gz |
Disable a UTF-8 warning per default
-rw-r--r-- | giscanner/scannerparser.y | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |