Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread John Emmas
This is my third attempt to reply to Emmanuele so apologies if this comes through in duplicate (or even triplicate!!) My posts to this list seem to frequently get lost somewhere (for some reason I've never understood). Anyway, here's what I wrote... On 02/11/2015 16:56, Emmanuele Bassi

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread Emmanuele Bassi
Hi; you should try the patch attached to this bug: https://bugzilla.gnome.org/show_bug.cgi?id=503096#c26 and see if it fixes the issue for you. Ciao, Emmanuele. On 2 November 2015 at 16:49, John Emmas wrote: > Hi guys, > > I just updated from git master and noticed

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread Arnavion
https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 Presumably this is not being included by gtypes.h inline in C is a C99 feature, which is why older VS doesn't support it. VS2015 does. -Arnav On Mon, Nov 2, 2015 at 2:27 PM, Emmanuele Bassi wrote: > Hi; > > On 2

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread Tim-Philipp Müller
On Mon, 2015-11-02 at 23:20 +, Emmanuele Bassi wrote: > > inline in C is a C99 feature, which is why older VS doesn't support > > it. VS2015 does. > > I'm pretty sure MSVC versions prior to the one in Visual Studio 2015 > support `static inline` function declarations. MS Visual C++ Express

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread Emmanuele Bassi
Hi; On 2 November 2015 at 20:10, John Emmas wrote: > This is my third attempt to reply to Emmanuele so apologies if this comes > through in duplicate (or even triplicate!!) My posts to this list seem to > frequently get lost somewhere (for some reason I've never

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-02 Thread Emmanuele Bassi
Hi; On 2 November 2015 at 22:50, Arnavion wrote: > https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 > Presumably this is not being included by gtypes.h > > inline in C is a C99 feature, which is why older VS doesn't support > it. VS2015 does. I'm pretty sure MSVC