glib2 prior to 2.35.6 in combination with the new -Wunused-local-typedefs (present in -Wall) in gcc 4.8 causes: /usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:162:53: warning: typedef '_GStaticAssertCompileTimeAssertion_0' locally defined but not used [-Wunused-local-typedefs] when trying to build mingw-libosinfo This warning is fixed by http://git.gnome.org/browse/glib/commit/?id=0ea7abaed5cff685f4d825f13588979e5dc which is in glib 2.35.6