Re: Broken 'C' compilation when building from Master with MSVC
- Date: Tue, 3 Nov 2015 11:50:01 +0000
- From: Simon McVittie <simon.mcvittie@xxxxxxxxxxxxxxx>
- Subject: Re: Broken 'C' compilation when building from Master with MSVC
On 03/11/15 09:30, John Emmas wrote:
> On 02/11/2015 22:50, Arnavion wrote:
>> 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 reason for this is that the two headers have
> mutual dependencies - i.e. gutils.h needs some types which are defined
> in gtypes.h and vice versa.
> 2) Because of the above, some other source files are now fussy about
> which order we #include gtypes.h versus gutils.h
Perhaps the "inline" stuff should move to gtypes.h, or somewhere even
lower-level, like glibconfig.h?
Or, given that
says that the old (non-C99) MSVC versions are not suitable compilers for
use with GLib, perhaps GLib should require that MSVC compilation is done
with something like
which *is* a suitable compiler?
Collabora Ltd. <http://www.collabora.com/>
gtk-devel-list mailing list