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

2015-11-03 Thread John Emmas
2nd attempt - sorry if this comes through twice... On 02/11/2015 22:50, Arnavion wrote: > https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 > Presumably this is not being included by gtypes.h > Yeah, that's true - and fixing it kinda works but it leaves a couple of problems... 1)

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

2015-11-03 Thread Simon McVittie
On 03/11/15 09:30, John Emmas wrote: > On 02/11/2015 22:50, Arnavion wrote: >> https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 >> Presumably this is not being included by gtypes.h > > 1) Firstly, it needs to get #included quite a long way down (around line > 95 of gtypes.h). The

Re: building glib on windows

2015-11-03 Thread Ignacio Casal Quinteiro
Hi, if you need msvc builds you need to build them with msvc. Mixing runtimes while it could work it might deal to unexpected problems. Regards. On Tue, Nov 3, 2015 at 3:40 PM, wrote: > On 3 November 2015 at 14:34, Ignacio Casal Quinteiro > wrote: > >

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

2015-11-03 Thread John Emmas
On 3 Nov 2015, at 11:50, Simon McVittie wrote: > > Perhaps the "inline" stuff should move to gtypes.h, or somewhere even > lower-level, like glibconfig.h? > As an experiment, I tried moving the inline stuff out of gutils.h and straight into gtypes.h (at line 391 - immediately before those

Re: building glib on windows

2015-11-03 Thread Ignacio Casal Quinteiro
Hey, have a look at this: https://github.com/nice-software/gtk-win32 Cheers. On Tue, Nov 3, 2015 at 3:26 PM, wrote: > Hi everyone, > > I'm trying to make my own 64-bit glib DLLs for Windows users. I'm > cross-compiling from linux with jhbuild. It seems to be working, >

Re: building glib on windows

2015-11-03 Thread jcupitt
Hi Tim, On 3 November 2015 at 14:53, Tim-Philipp Müller wrote: > The build system GStreamer uses for this (cerbero) should be able to do > that (our windows build bots do that): > > http://cgit.freedesktop.org/gstreamer/cerbero/ From reading the sources, it looks like