From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-10-31 02:51:48
|
https://bugzilla.gnome.org/show_bug.cgi?id=626902 gnome-perl | Glib | unspecified --- Comment #3 from sis...@op... 2010-10-31 02:51:36 UTC --- The patch works fine for me. I'm not set up to test Cygwin, but I've tested with: 1) gcc-3.4.5 (x86), perl 5.8.9 2) gcc-4.6.0 (x64), perl 5.12.2 3) MSVC++ 7.0 (x86), perl 5.10.0 My x64 Microsoft compiler (Microsoft Platform SDK for Windows Server 2003 R2) won't build glib because of some issue with the glib headers: C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(140) : error C2010: '.' : unexpected in macro formal parameter list C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(140) : error C2010: '.' : unexpected in macro formal parameter list C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(140) : error C2010: '.' : unexpected in macro formal parameter list C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(147) : error C2010: '.' : unexpected in macro formal parameter list C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(147) : error C2010: '.' : unexpected in macro formal parameter list C:/Gtk+_64\include\glib-2.0\glib\gmessages.h(147) : error C2010: '.' : unexpected in macro formal parameter list [snip - more similar] The offending section of the header is: 140: #define g_error(...) G_STMT_START { \ 141: g_log (G_LOG_DOMAIN, \ 142: G_LOG_LEVEL_ERROR, \ 143: __VA_ARGS__); \ 144: for (;;) ; \ 145: } G_STMT_END 146: 147: #define g_message(...) g_log (G_LOG_DOMAIN, \ 148: G_LOG_LEVEL_MESSAGE, \ MSVC++ 7.0 has no problem with the same syntax, so I don't know why Microsoft have decided that my x64 compiler should find it unacceptable. Thanks for the patch. Cheers, Rob -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |