Created attachment 39854 [details] [review] patch 1 I've made some changes to get telepathy-glib compile with MSVC 9.
Created attachment 39855 [details] [review] patch 2
Review of attachment 39854 [details] [review]: This isn't really the right fix; we should be using G_VA_COPY() instead.
Review of attachment 39855 [details] [review]: The previous implementation dynamically allocated more stack, which is meant to work, but I can see that it's not necessarily the most portable thing to do. We prefer to use g_malloc() and g_free() instead of malloc() and free(). I'd be inclined to remove the artificial block now that we're not using it for its side-effect of letting us have more stack. I'll prepare an alternative patch.
See the URL field for a branch which should hopefully also fix these; please let me know whether it works. Thanks for your patches!
(In reply to comment #2) > This isn't really the right fix; we should be using G_VA_COPY() instead. Perfect, I didn't know that G_VA_COPY() exists. Your branch looks good and works fine.
Fixed in git for 0.12.3 and 0.13.4, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.