GNOME Bugzilla – Bug 737143
Include <stdint.h> in glib/valgrind.h
Last modified: 2014-09-23 13:08:46 UTC
This ensures the uintptr_t type is defined on mingw-w64. Fixes compile error: make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/glib-2.42.0/gobject' CC libgobject_2_0_la-gtype.lo In file included from gtype.c:24:0: ../glib/valgrind.h: In function 'VALGRIND_PRINTF': ../glib/valgrind.h:5601:4: error: unknown type name 'uintptr_t' uintptr_t _qzz_res; ^
Created attachment 286843 [details] [review] Include <stdint.h> in glib/valgrind.h
Review of attachment 286843 [details] [review]: Hmm...I think this at least needs some #ifdef fu, since old Windows or something don't have it. git grep stdint will show you examples.
Created attachment 286851 [details] [review] Include <stdint.h> in glib/valgrind.h This ensures the uintptr_t type is defined on mingw-w64. Fixes compile error: make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/glib-2.42.0/gobject' CC libgobject_2_0_la-gtype.lo In file included from gtype.c:24:0: ../glib/valgrind.h: In function 'VALGRIND_PRINTF': ../glib/valgrind.h:5601:4: error: unknown type name 'uintptr_t' uintptr_t _qzz_res; ^
Review of attachment 286851 [details] [review]: Ok.
Attachment 286851 [details] pushed as e1b84e3 - Include <stdint.h> in glib/valgrind.h