glib/tests/win32 test failing on 64-bit Visual Studio builds
Hi,
I was trying to build GLib on both 32-bit Visual Studio as well as 64-bit Visual Studio builds, however, when running the 'glib / glib : win32' test program, the test succeeds on 32-bit builds but fails on 64-bit builds, with the following:
Bail out! GLib:ERROR:../git_repos/glib/glib/tests/win32.c:63:test_subst_pid_and_event: assertion failed (debugger_big == output): ("multipl4294967295 big 4294967295 4294967295ntries and 4294967295ids are 4294967295rovided here" == "multipl4294967295 big 4294967295 4294967295ntries and 18446744073709551615ids are 18446744073709551615rovided here")
However, if I changed line 62 from:
output = g_strdup_printf ("multipl%lu big %lu %luntries and %lluids are %llurovided here", be, be, be, (guint64) bp, (guint64) bp);
-to-
output = g_strdup_printf ("multipl%lu big %lu %luntries and %luids are %lurovided here", be, be, be, (guint64) bp, (guint64) bp);
then the test works on 64-bit Visual Studio builds but not 32-bit Visual Studio.
Any advice on the preferred way to go for this is appreciated.
With blessings, thank you!