Don't use printf %n. Index: glib/tests/test-printf.c --- glib/tests/test-printf.c.orig +++ glib/tests/test-printf.c @@ -578,6 +578,7 @@ test_s (void) static void test_n (void) { +#if 0 gchar buf[128]; gint res; gint i; @@ -592,6 +593,7 @@ test_n (void) g_assert_cmpint (res, ==, 3); g_assert_cmpstr (buf, ==, "abc"); g_assert_cmpint (l, ==, 3); +#endif } static void